Daily bump.

This commit is contained in:
GCC Administrator 2022-06-24 00:16:41 +00:00
parent 6c72f1bfc3
commit df724ec773
5 changed files with 187 additions and 1 deletions

View File

@ -1,3 +1,50 @@
2022-06-23 David Malcolm <dmalcolm@redhat.com>
* common.opt (fdiagnostics-show-rules): New option.
* diagnostic-format-json.cc (diagnostic_output_format_init_json):
Fix up context->show_rules.
* diagnostic-format-sarif.cc
(diagnostic_output_format_init_sarif): Likewise.
* diagnostic-metadata.h (diagnostic_metadata::rule): New class.
(diagnostic_metadata::precanned_rule): New class.
(diagnostic_metadata::add_rule): New.
(diagnostic_metadata::get_num_rules): New.
(diagnostic_metadata::get_rule): New.
(diagnostic_metadata::m_rules): New field.
* diagnostic.cc (diagnostic_initialize): Initialize show_rules.
(print_any_rules): New.
(diagnostic_report_diagnostic): Call it.
* diagnostic.h (diagnostic_context::show_rules): New field.
* doc/invoke.texi (-fno-diagnostics-show-rules): New option.
* opts.cc (common_handle_option): Handle
OPT_fdiagnostics_show_rules.
* toplev.cc (general_init): Set up global_dc->show_rules.
2022-06-23 Martin Liska <mliska@suse.cz>
PR c++/106062
* ubsan.cc (sanitize_unreachable_fn): Change order of calls
in order to initialize UBSAN built-ins.
2022-06-23 Martin Liska <mliska@suse.cz>
PR ipa/105600
* ipa-icf.cc (sem_item_optimizer::filter_removed_items):
Skip variables with body_removed.
2022-06-23 liuhongt <hongtao.liu@intel.com>
* config/i386/sse.md:(sse4_2_pcmpestr): Replace REGNO with
reg_or_subregno.
(sse4_2_pcmpistr): Ditto.
2022-06-23 Xionghu Luo <xionghuluo@tencent.com>
* cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Fix
typo.
* tree-ssa-loop-ivopts.cc (struct iv_cand): Likewise.
* tree-switch-conversion.h: Likewise.
2022-06-22 Jason Merrill <jason@redhat.com>
PR c++/104642

View File

@ -1 +1 @@
20220623
20220624

View File

@ -1,3 +1,74 @@
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105925
* call.cc (build_aggr_conv): Don't depend on
CONSTRUCTOR_IS_DESIGNATED_INIT.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105925
* decl.cc (reshape_init_array_1): Set
CONSTRUCTOR_IS_DESIGNATED_INIT here.
(reshape_init_class): And here.
(reshape_init): Not here.
2022-06-23 Patrick Palka <ppalka@redhat.com>
PR c++/105931
* expr.cc (fold_for_warn): Don't fold when in an unevaluated
context.
2022-06-23 Patrick Palka <ppalka@redhat.com>
PR c++/105982
* pt.cc (lookup_template_class): After calling complete_type for
the substituted context, check the table again iff the type was
previously incomplete and complete_type made it complete.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/94554
* pt.cc (dependent_operand_p): Split out from...
(tsubst_copy_and_build): ...here.
(tsubst_expr) [IF_STMT]: Use it.
* semantics.cc (finish_if_stmt_cond): Keep the pre-conversion
condition in the template tree.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105885
* pt.cc (tsubst_copy_and_build): Also suppress -Waddress for
comparison of dependent operands.
2022-06-23 Nathan Sidwell <nathan@acm.org>
* module.cc (struct macro_info): New.
(struct macro_traits): New.
(macro_remap, macro_table): New globals.
(depset::hash::find_dependencies): Note namespace location.
(module_for_macro_loc): Adjust.
(module_state::note_location): New.
(module_state::Write_location): Note location when not
streaming. Adjust macro location streaming.
(module_state::read_location): Adjust macro location
streaming.
(module_state::write_init_maps): New.
(module_state::write_prepare_maps): Reimplement macro map
preparation.
(module_state::write_macro_maps): Reimplement.
(module_state::read_macro_maps): Likewise.
(module_state::write_begin): Adjust.
2022-06-23 Jason Merrill <jason@redhat.com>
* pt.cc (type_unification_real): An auto tparm can't
be affected by other deductions.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105964
* pt.cc (type_dependent_expression_p): Look through BASELINK.
2022-06-22 Jason Merrill <jason@redhat.com>
PR c++/105908

View File

@ -1,3 +1,59 @@
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105925
* g++.dg/ext/desig4.C: Remove extra errors.
* g++.dg/cpp2a/desig26.C: New test.
2022-06-23 Patrick Palka <ppalka@redhat.com>
PR c++/105931
* g++.dg/cpp0x/decltype82a.C: New test.
2022-06-23 Patrick Palka <ppalka@redhat.com>
PR c++/105982
* g++.dg/cpp1z/class-deduction111.C: New test.
2022-06-23 David Malcolm <dmalcolm@redhat.com>
* gcc.dg/plugin/diagnostic-test-metadata.c: Expect " [STR34-C]" to
be emitted at the "gets" call.
* gcc.dg/plugin/diagnostic_plugin_test_metadata.c
(pass_test_metadata::execute): Associate the "gets" diagnostic
with a rule named "STR34-C".
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/94554
* g++.dg/cpp1z/constexpr-if38.C: New test.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105885
* g++.dg/cpp1z/constexpr-if37.C: New test.
2022-06-23 Martin Liska <mliska@suse.cz>
PR c++/106062
* gfortran.dg/ubsan/pr106062.f90: New test.
2022-06-23 Nathan Sidwell <nathan@acm.org>
* g++.dg/modules/loc-prune-1.C: New.
* g++.dg/modules/loc-prune-2.C: New.
* g++.dg/modules/loc-prune-3.C: New.
* g++.dg/modules/pr98718_a.C: Adjust.
* g++.dg/modules/pr98718_b.C: Adjust.
2022-06-23 Richard Sandiford <richard.sandiford@arm.com>
* gcc.dg/tree-ssa/slsr-39.c: Force vectorization off.
2022-06-23 Jason Merrill <jason@redhat.com>
PR c++/105964
* g++.dg/cpp1z/nontype-auto21.C: New test.
2022-06-22 Jason Merrill <jason@redhat.com>
PR c++/105908

View File

@ -1,3 +1,15 @@
2022-06-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/27_io/filesystem/iterators/error_reporting.cc: Use
rmdir to remove directories.
* testsuite/experimental/filesystem/iterators/error_reporting.cc:
Likewise.
2022-06-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/26_numerics/random/random_device/entropy.cc: Use
numeric_limits<unsigned>::digits.
2022-06-22 Alexandre Oliva <oliva@adacore.com>
* libsupc++/eh_globals.cc [!_GLIBCXX_HAVE_TLS]