diff options
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/ChangeLog | 7 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index ff994596200..d80a0daab43 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,10 @@ +2020-02-12 Patrick Palka <ppalka@redhat.com> + + PR c++/69448 + PR c++/80471 + * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set + AUTO_IS_DECLTYPE anymore. + 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com> * libcp1plugin.cc (plugin_build_new_expr): Update build_new call. diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index b466b34bee3..00449f43b52 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -3343,10 +3343,7 @@ plugin_get_expr_type (cc1_plugin::connection *self, if (op0) type = TREE_TYPE (op0); else - { - type = make_decltype_auto (); - AUTO_IS_DECLTYPE (type) = true; - } + type = make_decltype_auto (); return convert_out (ctx->preserve (type)); } |