diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-04-06 00:16:43 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-04-06 00:16:43 +0000 |
commit | b1da991623341a2ecd97bf9034b93b0d63516517 (patch) | |
tree | d21a501a499b3fa3688b6e325681311d4c556eaf | |
parent | b07dd9b0d0e501a0083da79e2bca17041c007ec8 (diff) | |
download | gcc-b1da991623341a2ecd97bf9034b93b0d63516517.zip gcc-b1da991623341a2ecd97bf9034b93b0d63516517.tar.gz gcc-b1da991623341a2ecd97bf9034b93b0d63516517.tar.bz2 |
Daily bump.
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 18 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 48 | ||||
-rw-r--r-- | gcc/d/ChangeLog | 40 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 51 | ||||
-rw-r--r-- | libgcc/ChangeLog | 6 |
7 files changed, 172 insertions, 1 deletions
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 09b3642..be2407d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210405 +20210406 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index fadf9d3..68ef2aa 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -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 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6c727e3..85e2489 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -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 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 62a38c1..54bccc1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 9c9c38d..93ec819 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -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. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index edcc3f0..0a295b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8182bba..1c53460 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 |