Daily bump.

This commit is contained in:
GCC Administrator 2021-04-06 00:16:43 +00:00
parent b07dd9b0d0
commit b1da991623
7 changed files with 172 additions and 1 deletions

View file

@ -1 +1 @@
20210405
20210406

View 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

View 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

View 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

View 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.

View 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

View 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