]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 6 Apr 2021 00:16:43 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 6 Apr 2021 00:16:43 +0000 (00:16 +0000)
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/d/ChangeLog
gcc/testsuite/ChangeLog
libgcc/ChangeLog

index 09b3642b797855057574be5468ad1ca48dcc0b51..be2407d055e79af8b8a314e2714c2fd75385583c 100644 (file)
@@ -1 +1 @@
-20210405
+20210406
index fadf9d35490c4af97a0534d3cbedc196c80581b9..68ef2aa0e1b12a62d56e692cd8f6259af67fb49d 100644 (file)
@@ -1,3 +1,21 @@
+2021-04-05  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
 
        * diagnostic-manager.cc (diagnostic_manager::add_diagnostic): Make
index 6c727e379df4d398af67bd4442738a31ceabd4b6..85e248941ec1f02e36fcbf7636ee00dd64a19de5 100644 (file)
@@ -1,3 +1,11 @@
+2021-04-05  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * 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  <jason@redhat.com>
 
        PR c++/98481
index 62a38c1291ab2f5bd6259ea6df9c019b75308c8a..54bccc1f419034155886971bb8c201e1e5faca8b 100644 (file)
@@ -1,3 +1,51 @@
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/96311
+       * typeck.c (check_return_expr): Call mark_exp_read in dependent
+       case.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/98440
+       * typeck.c (build_reinterpret_cast_1): Don't perform
+       temporary materialization.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/95317
+       * pt.c (lookup_template_class_1): Do tsubst_enum when
+       tsubsting a generic lambda.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       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  <nathan@acm.org>
+
+       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  <jason@redhat.com>
+
+       PR c++/99066
+       * pt.c (mark_decl_instantiated): Set DECL_EXTERNAL.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       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  <jason@redhat.com>
+
+       * ptree.c (cxx_print_decl): Check DECL_MODULE_IMPORT_P on
+       template result.
+
 2021-04-04  Jason Merrill  <jason@redhat.com>
 
        PR c++/99643
index 9c9c38d4460f2af8f2e02b768d4fdc528d10c94b..93ec8194685a816c79c3139579031fd7f8a06b2a 100644 (file)
@@ -1,3 +1,43 @@
+2021-04-05  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       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  <ibuclaw@gdcproject.org>
 
        * dmd/MERGE: Merge upstream dmd 3b808e838.
index edcc3f0263c9354fade022a175670020fcaa0982..0a295b058d7c1ed4aa92e0394c19e8dca3a13476 100644 (file)
@@ -1,3 +1,54 @@
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/96311
+       * g++.dg/cpp1y/lambda-generic-Wunused.C: New test.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       * 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  <jason@redhat.com>
+
+       PR c++/95317
+       * g++.dg/cpp1y/lambda-generic-enum1.C: New test.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/95870
+       * g++.dg/cpp0x/lambda/lambda-nsdmi10.C: New test.
+
+2021-04-05  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/99906
+       * gcc.dg/analyzer/pr99906.c: New test.
+
+2021-04-05  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/99886
+       * gcc.dg/analyzer/pr99886.c: New test.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/99066
+       * g++.dg/cpp0x/extern_template-6.C: New test.
+
+2021-04-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/99201
+       * g++.dg/cpp1z/constexpr-if-lambda4.C: New test.
+
+2021-04-05  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/99914
+       * gdc.dg/pr99914.d: New test.
+
+2021-04-05  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gcc.dg/ipa/propmalloc-4.c: Add -fdelete-null-pointer-checks.
+       * gcc.dg/tree-ssa/evrp11.c: Likewise.
+
 2021-04-04  Jason Merrill  <jason@redhat.com>
 
        PR c++/99643
index 8182bbac45aa0f7d71345e20482c7b4091ba1ef5..1c534603cdd6fb88e0c30f1d278dfab06386a433 100644 (file)
@@ -1,3 +1,9 @@
+2021-04-05  Florian Weimer  <fweimer@redhat.com>
+           Michael Meissner   <meissner@linux.ibm.com>
+
+       * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
+       point functions for $(decimal_float) only.
+
 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/97653