From b1da991623341a2ecd97bf9034b93b0d63516517 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Tue, 6 Apr 2021 00:16:43 +0000 Subject: [PATCH] Daily bump. --- gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 18 +++++++++++++++ gcc/c-family/ChangeLog | 8 +++++++ gcc/cp/ChangeLog | 48 ++++++++++++++++++++++++++++++++++++++ gcc/d/ChangeLog | 40 ++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 51 +++++++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 6 +++++ 7 files changed, 172 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 09b3642b797..be2407d055e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210405 +20210406 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index fadf9d35490..68ef2aa0e1b 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,21 @@ +2021-04-05 David Malcolm + + PR analyzer/99906 + * analyzer.cc (maybe_reconstruct_from_def_stmt): Fix NULL + dereference on calls with zero arguments. + * sm-malloc.cc (malloc_state_machine::on_stmt): When handling + __attribute__((nonnull)), only call get_diagnostic_tree if the + result will be used. + +2021-04-05 David Malcolm + + PR analyzer/99886 + * diagnostic-manager.cc + (diagnostic_manager::prune_interproc_events): Use signed integers + when subtracting one from path->num_events (). + (diagnostic_manager::consolidate_conditions): Likewise. Convert + next_idx to a signed int. + 2021-04-01 David Malcolm * diagnostic-manager.cc (diagnostic_manager::add_diagnostic): Make diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6c727e379df..85e248941ec 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,11 @@ +2021-04-05 Eric Botcazou + + * c-ada-spec.c (is_simple_enum): Minor tweaks. + (dump_ada_enum_type): Add TYPE and PARENT parameters. For non-simple + enumeral types use again the type name for the enumeration constants. + (dump_ada_node): Adjust call to dump_ada_enum_type. + (dump_nested_type): Likewise. + 2021-04-01 Jason Merrill PR c++/98481 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 62a38c1291a..54bccc1f419 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,51 @@ +2021-04-05 Jason Merrill + + PR c++/96311 + * typeck.c (check_return_expr): Call mark_exp_read in dependent + case. + +2021-04-05 Jason Merrill + + PR c++/98440 + * typeck.c (build_reinterpret_cast_1): Don't perform + temporary materialization. + +2021-04-05 Jason Merrill + + PR c++/95317 + * pt.c (lookup_template_class_1): Do tsubst_enum when + tsubsting a generic lambda. + +2021-04-05 Jason Merrill + + PR c++/95870 + * pt.c (enclosing_instantiation_of): Compare DECL_SOURCE_LOCATION if + there is no enclosing non-lambda function. + +2021-04-05 Nathan Sidwell + + PR c++/99380 + * module.cc (name_pending_imports): Drop 'atend' parm. Don't + query export when not needed. + (preprocess_module, preprocessed_module): Adjust. + +2021-04-05 Jason Merrill + + PR c++/99066 + * pt.c (mark_decl_instantiated): Set DECL_EXTERNAL. + +2021-04-05 Jason Merrill + + PR c++/99201 + * pt.c (class el_data): Add visited field. + (extract_local_specs): Pass it to cp_walk_tree. + (extract_locals_r): Walk into the body of a lambda. + +2021-04-05 Jason Merrill + + * ptree.c (cxx_print_decl): Check DECL_MODULE_IMPORT_P on + template result. + 2021-04-04 Jason Merrill PR c++/99643 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 9c9c38d4460..93ec8194685 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,43 @@ +2021-04-05 Iain Buclaw + + PR d/99914 + * d-lang.cc (d_init): Disable flag_weak_templates if no support for + weak or one-only symbols. + * d-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro. + (DECL_INSTANTIATED): New macro. + (d_comdat_linkage): Remove declaration. + (d_linkonce_linkage): Remove declaration. + (set_linkage_for_decl): New declaration. + * decl.cc (DeclVisitor::visit (StructDeclaration *)): Replace call to + d_linkonce_linkage with setting DECL_INSTANTIATED. + (DeclVisitor::visit (ClassDeclaration *)): Likewise. + (DeclVisitor::visit (EnumDeclaration *)): Likewise. + (DeclVisitor::visit (InterfaceDeclaration *)): Remove call to + d_linkonce_linkage. + (get_symbol_decl): Call set_linkage_for_decl instead of + d_linkonce_linkage. + (d_finish_decl): Call set_linkage_for_decl. + (d_comdat_linkage): Made function static. Only set DECL_COMDAT for + DECL_INSTANTIATED decls. + (d_linkonce_linkage): Remove function. + (d_weak_linkage): New function. + (set_linkage_for_decl): New function. + * gdc.texi (Runtime Options): Rename -fno-weak to -fno-weak-templates, + update documentation of option. + * lang.opt (fweak): Rename option to ... + (fweak-templates): ... this. Update help string. + * modules.cc (get_internal_fn): Add Prot parameter. Set generated + function flag. + (build_internal_fn): Update call to get_internal_fn. + (build_dso_cdtor_fn): Likewise. + (register_moduleinfo): Call d_finish_decl on dso_slot_node and + dso_initialized_node. + * typeinfo.cc (TypeInfoVisitor::internal_reference): Call + set_linkage_for_decl instead of d_comdat_linkage. + (TypeInfoDeclVisitor::visit (TypeInfoDeclaration *)): Remove calls to + d_linkonce_linkage and d_comdat_linkage. + (get_cpp_typeinfo_decl): Likewise. + 2021-04-03 Iain Buclaw * dmd/MERGE: Merge upstream dmd 3b808e838. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index edcc3f0263c..0a295b058d7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,54 @@ +2021-04-05 Jason Merrill + + PR c++/96311 + * g++.dg/cpp1y/lambda-generic-Wunused.C: New test. + +2021-04-05 Jason Merrill + + * g++.dg/cpp0x/rv-cast6.C: Expect reinterpret_cast error. + * g++.dg/cpp0x/reinterpret_cast2.C: Adjust message. + * g++.old-deja/g++.jason/rvalue3.C: Likewise. + +2021-04-05 Jason Merrill + + PR c++/95317 + * g++.dg/cpp1y/lambda-generic-enum1.C: New test. + +2021-04-05 Jason Merrill + + PR c++/95870 + * g++.dg/cpp0x/lambda/lambda-nsdmi10.C: New test. + +2021-04-05 David Malcolm + + PR analyzer/99906 + * gcc.dg/analyzer/pr99906.c: New test. + +2021-04-05 David Malcolm + + PR analyzer/99886 + * gcc.dg/analyzer/pr99886.c: New test. + +2021-04-05 Jason Merrill + + PR c++/99066 + * g++.dg/cpp0x/extern_template-6.C: New test. + +2021-04-05 Jason Merrill + + PR c++/99201 + * g++.dg/cpp1z/constexpr-if-lambda4.C: New test. + +2021-04-05 Iain Buclaw + + PR d/99914 + * gdc.dg/pr99914.d: New test. + +2021-04-05 Sandra Loosemore + + * gcc.dg/ipa/propmalloc-4.c: Add -fdelete-null-pointer-checks. + * gcc.dg/tree-ssa/evrp11.c: Likewise. + 2021-04-04 Jason Merrill PR c++/99643 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8182bbac45a..1c534603cdd 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2021-04-05 Florian Weimer + Michael Meissner + + * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating + point functions for $(decimal_float) only. + 2021-04-03 Jakub Jelinek PR target/97653