diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-07-20 00:17:53 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-07-20 00:17:53 +0000 |
commit | 49bed11d96cf727de7e6ed35f065a4df29f6c589 (patch) | |
tree | e4f1d9105f7f4158d28914b1de2a224c6633464c /gcc/cp | |
parent | 0867d30a68de68f4c809757348447bef94ef1491 (diff) | |
download | gcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.zip gcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.tar.gz gcc-49bed11d96cf727de7e6ed35f065a4df29f6c589.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 968b815..59491e5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,38 @@ +2023-07-19 Marek Polacek <polacek@redhat.com> + + PR c++/110745 + * error.cc (dump_simple_decl): Print base class name. + +2023-07-19 Marek Polacek <polacek@redhat.com> + + PR c++/110064 + * typeck2.cc (process_init_constructor_record): Don't emit + -Wmissing-field-initializers for empty classes. + +2023-07-19 Patrick Palka <ppalka@redhat.com> + + * pt.cc (type_unification_real): Test for PARM_DECL instead + of TEMPLATE_PARM_INDEX to distinguish a type vs non-type + template parameter pack. + (type_targs_deducible_from): Likewise. + +2023-07-19 Patrick Palka <ppalka@redhat.com> + + * pt.cc (tsubst_function_decl): Add defaulted 'use_spec_table' + flag parameter. Don't look up or insert into the specializations + table if 'use_spec_table' is false. + (tsubst_decl): Add defaulted 'use_spec_table' flag parameter. + Check for error_mark_node. + <case FUNCTION_DECL>: Pass 'use_spec_table' to + tsubst_function_decl. + <case TYPE/VAR_DECL>: Don't call coerce_template_parms. + Don't look up or insert into the specializations table if + 'use_spec_table' is false. Exit earlier if the substituted + type is erroneous and we're not complaining, and do so for + alias specializations as well. + (instantiate_template): Pass false as 'use_spec_table' + to tsubst_decl. Call register_specialization afterwards. + 2023-07-18 Jason Merrill <jason@redhat.com> * constexpr.cc (cxx_eval_bit_cast): Check that the result of |