]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 Jul 2022 00:16:22 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 Jul 2022 00:16:22 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libbacktrace/ChangeLog
libcpp/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog
lto-plugin/ChangeLog

index 0f291f9f7aa52bf9e34380fd0eec444353abc12a..2f5be38bf545f9de5e340f2ed2bb2320ff046f64 100644 (file)
@@ -1,3 +1,77 @@
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       * diagnostic-format-json.cc (json_from_location_range): Update for
+       removal of label_text::maybe_free in favor of automatic memory
+       management.
+       * diagnostic-format-sarif.cc
+       (sarif_builder::make_location_object): Likewise.
+       * diagnostic-show-locus.cc (struct pod_label_text): New.
+       (class line_label): Convert m_text from label_text to pod_label_text.
+       (layout::print_any_labels): Move "text" to the line_label.
+       * tree-diagnostic-path.cc (path_label::get_text): Update for
+       removal of label_text::maybe_free in favor of automatic memory
+       management.
+       (event_range::print): Likewise.
+       (default_tree_diagnostic_path_printer): Likewise.
+       (default_tree_make_json_for_path): Likewise.
+
+2022-07-07  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       * statistics.cc (get_function_name): Add check to see if fn is not NULL.
+
+2022-07-07  Richard Biener  <rguenther@suse.de>
+
+       * tree-into-ssa.cc (iterating_old_ssa_names): New.
+       (add_new_name_mapping): Grow {new,old}_ssa_names separately
+       and only when actually needed.  Assert we are not growing
+       the old_ssa_names set when iterating over it.
+       (update_ssa): Remove old_ssa_names copying and empty_p
+       query, note we are iterating over it and expect no set changes.
+
+2022-07-07  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * config/i386/intelmic-mkoffload.cc (generate_host_descr_file)
+       (prepare_target_image, main): Handle OpenMP 'requires'.
+       (generate_host_descr_file): Switch to 'GOMP_offload_register_ver',
+       'GOMP_offload_unregister_ver'.
+
+2022-07-07  Richard Biener  <rguenther@suse.de>
+
+       PR target/106219
+       * config/i386/i386-builtins.cc (ix86_add_new_builtins): Properly
+       set DECL_PURE_P.
+
+2022-07-07  Richard Biener  <rguenther@suse.de>
+
+       * tree-ssa-loop-manip.cc (add_exit_phis_var): Return the
+       number of LC PHIs inserted.
+       (add_exit_phis): Return whether any variable required
+       multiple LC PHI nodes.
+       (rewrite_into_loop_closed_ssa_1): Use TODO_update_ssa_no_phi
+       when possible.
+
+2022-07-07  Richard Biener  <rguenther@suse.de>
+
+       * tree-ssa-loop-manip.cc (compute_live_loop_exits): Take
+       the def loop exit block bitmap as argument instead of
+       re-computing it here.
+       (add_exit_phis_var): Adjust.
+       (loop_name_cmp): New function.
+       (add_exit_phis): Sort variables to insert LC PHI nodes
+       after definition loop, for each definition loop compute
+       the exit block bitmap once.
+       (get_loops_exit): Remove.
+       (rewrite_into_loop_closed_ssa_1): Do not pre-record
+       all loop exit blocks into bitmaps.  Record loop exits
+       if required.
+
+2022-07-07  Dimitrije Milosevic  <Dimitrije.Milosevic@Syrmia.com>
+
+       * config/mips/mips.cc (mips_asan_shadow_offset): Reformat
+       to handle the N32 ABI.
+       * config/mips/mips.h (SUBTARGET_SHADOW_OFFSET): Remove
+       the macro, as it is not needed anymore.
+
 2022-07-06  Thomas Schwinge  <thomas@codesourcery.com>
 
        * config/gcn/mkoffload.cc (process_obj): Clarify 'target_data' ->
index 56ceb7f4c69976b81473c8a034f0bebb1f83ebe8..aa8fe3c891120c640793632e255e2fb56bd7a0d9 100644 (file)
@@ -1 +1 @@
-20220707
+20220708
index 03918704e9c3a1b4fb872e5992cbc255eceba73a..06d845465fa615becf1c80888d5dd62180a282ad 100644 (file)
@@ -1,3 +1,46 @@
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       * checker-path.cc (start_cfg_edge_event::get_desc): Update for
+       superedge::get_description returning a label_text.
+       * engine.cc (feasibility_state::maybe_update_for_edge): Likewise.
+       * supergraph.cc (superedge::dump): Likewise.
+       (superedge::get_description): Convert return type from char * to
+       label_text.
+       * supergraph.h (superedge::get_description): Likewise.
+
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       * call-info.cc (call_info::print): Update for removal of
+       label_text::maybe_free in favor of automatic memory management.
+       * checker-path.cc (checker_event::dump): Likewise.
+       (checker_event::prepare_for_emission): Likewise.
+       (state_change_event::get_desc): Likewise.
+       (superedge_event::should_filter_p): Likewise.
+       (start_cfg_edge_event::get_desc): Likewise.
+       (warning_event::get_desc): Likewise.
+       (checker_path::dump): Likewise.
+       (checker_path::debug): Likewise.
+       * diagnostic-manager.cc
+       (diagnostic_manager::prune_for_sm_diagnostic): Likewise.
+       (diagnostic_manager::prune_interproc_events): Likewise.
+       * program-state.cc (sm_state_map::to_json): Likewise.
+       * region.cc (region::to_json): Likewise.
+       * sm-malloc.cc (inform_nonnull_attribute): Likewise.
+       * store.cc (binding_map::to_json): Likewise.
+       (store::to_json): Likewise.
+       * svalue.cc (svalue::to_json): Likewise.
+
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/106225
+       * sm-taint.cc (taint_state_machine::on_stmt): Move handling of
+       assignments from division to...
+       (taint_state_machine::check_for_tainted_divisor): ...this new
+       function.  Reject warning when the divisor is known to be non-zero.
+       * sm.cc: Include "analyzer/program-state.h".
+       (sm_context::get_old_region_model): New.
+       * sm.h (sm_context::get_old_region_model): New decl.
+
 2022-07-06  Immad Mir  <mirimmad@outlook.com>
 
        PR analyzer/106184
index 2853661a720951bfbbbbc66ab4b7488ff2bd9291..e16014feaae3adeb9d3117af6d1eff5157713867 100644 (file)
@@ -1,3 +1,9 @@
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       * c-format.cc (range_label_for_format_type_mismatch::get_text):
+       Update for removal of label_text::maybe_free in favor of automatic
+       memory management.
+
 2022-07-06  Lewis Hyatt  <lhyatt@gmail.com>
 
        PR preprocessor/53920
index 32ff5c07df0e40d2c3c5063072f4a5b3af5be8bd..ad72c03dd429d3220eeeb9aa890e151f516a6e8c 100644 (file)
@@ -1,3 +1,25 @@
+2022-07-07  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/105956
+       * pt.cc (template_arg_to_parm): Define.
+       (tsubst_argument_pack): Try to reuse the corresponding
+       ARGUMENT_PACK from 'args' when substituting into a generic
+       ARGUMENT_PACK for a variadic template parameter.
+       (tsubst_template_args): Move variable declarations closer to
+       their first use.  Replace 'orig_t' with 'r'.  Rename 'need_new'
+       to 'const_subst_p'.  Heuristically detect if the substituted
+       elements are identical to that of a level from 'args' and avoid
+       allocating a new TREE_VEC if so.  Add sanity check for the
+       length of the new TREE_VEC, and remove dead ARGUMENT_PACK_P test.
+       (tsubst_decl) <case TYPE_DECL, case VAR_DECL>: Revert
+       r13-1045-gcb7fd1ea85feea change for avoiding substitution into
+       DECL_TI_ARGS, but still avoid coercion in this case.
+
+2022-07-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/87729
+       * class.cc (warn_hidden): Ignore [cd]tors.
+
 2022-07-06  Lewis Hyatt  <lhyatt@gmail.com>
 
        PR c++/53431
index d5a391e72b68abe769a7cac32afb16c6f96d9b34..1c948f52947d469de9c800934e385f1e9ed24ad3 100644 (file)
@@ -1,3 +1,29 @@
+2022-07-07  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/105956
+       * g++.dg/cpp0x/variadic183.C: New test.
+
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/106225
+       * gcc.dg/analyzer/taint-divisor-1.c: Add test coverage for various
+       correct and incorrect checks against zero.
+
+2022-07-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/87729
+       * g++.dg/warn/Woverloaded-virt3.C: New test.
+
+2022-07-07  Richard Biener  <rguenther@suse.de>
+
+       PR target/106219
+       * g++.dg/pr106219.C: New testcase.
+
+2022-07-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       * gcc.target/powerpc/ppc-fortran/pr80108-1.f90: Change
+       -mfloat128-type to -mfloat128.
+
 2022-07-06  Lewis Hyatt  <lhyatt@gmail.com>
 
        PR preprocessor/53920
index 59766c6e7cf42060de34edc96e4a847abf563a8a..d81db6b863870edff3d1a80b4136c4af9dfba647 100644 (file)
@@ -1,3 +1,14 @@
+2022-07-07  Ian Lance Taylor  <iant@golang.org>
+
+       * macho.c (backtrace_initialize) [HAVE_MACH_O_DYLD_H]: Don't exit
+       loop if we can't find debug info for one shared library.
+
+2022-07-07  Ian Lance Taylor  <iant@golang.org>
+
+       * Makefile.am (MAKETESTS): New variable split out of TESTS.
+       (CLEANFILES): Replace TESTS with BUILDTESTS and MAKETESTS.
+       * Makefile.in: Regenerate.
+
 2022-06-27  Ian Lance Taylor  <iant@golang.org>
 
        * configure.ac: Use grep instead of fgrep.
index 1d03cd31c4b44080639e0d9dd00e4361f5b596b1..6b883a08b02b42554e1ba8fc9c96ced2e4644d2b 100644 (file)
@@ -1,3 +1,12 @@
+2022-07-07  David Malcolm  <dmalcolm@redhat.com>
+
+       * include/line-map.h: Include <utility>.
+       (class label_text): Delete maybe_free method in favor of a
+       destructor.  Add move ctor and assignment operator.  Add deletion
+       of the copy ctor and copy-assignment operator.  Rename field
+       m_caller_owned to m_owned.  Add std::move where necessary; add
+       moved_from member function.
+
 2022-06-28  Lewis Hyatt  <lhyatt@gmail.com>
 
        * ucnid.h: Regenerated for Unicode 14.0.
index 7d1ee616256d58b66e0dc7d0fcc69a5dee9fa326..11d4f5629ae210afc580d3eb92198009e5d445ab 100644 (file)
@@ -1,3 +1,24 @@
+2022-07-07  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * target.c (GOMP_offload_register, GOMP_offload_unregister):
+       Denote as legacy entry points.
+       * testsuite/lib/libgomp.exp
+       (check_effective_target_offload_target_any): New proc.
+       * testsuite/libgomp.c-c++-common/requires-1.c: Enable for
+       'offload_target_any'.
+       * testsuite/libgomp.c-c++-common/requires-3.c: Likewise.
+       * testsuite/libgomp.c-c++-common/requires-7.c: Likewise.
+       * testsuite/libgomp.fortran/requires-1.f90: Likewise.
+
+2022-07-07  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * testsuite/libgomp.c-c++-common/requires-4.c: Enhance testing.
+       * testsuite/libgomp.c-c++-common/requires-5.c: Likewise.
+
+2022-07-07  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * testsuite/libgomp.c-c++-common/requires-3.c: Adjust.
+
 2022-07-06  Thomas Schwinge  <thomas@codesourcery.com>
 
        * target.c (GOMP_offload_register_ver): Clarify 'target_data' ->
index 3a38b0a03c62f1744a951262b341aee8777aedff..3cd8bb7b4900ce32339a7c8ea95e83c4881ce6f7 100644 (file)
@@ -1,3 +1,9 @@
+2022-07-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR c++/89074
+       * include/bits/char_traits.h (__gnu_cxx::char_traits::move):
+       Remove workaround for front-end bug.
+
 2022-07-05  Alexandre Oliva  <oliva@adacore.com>
 
        * testsuite/util/testsuite_fs.h (nonexistent_path): Explain
index e3dd55e572a00c212bae867934d19a93afecd2f1..16e44c8eed426faaefce1d792faec9a392eefbe0 100644 (file)
@@ -1,3 +1,14 @@
+2022-07-07  Martin Liska  <mliska@suse.cz>
+
+       PR lto/106170
+       * configure.ac: Configure HAVE_PTHREAD_LOCKING.
+       * lto-plugin.c (LOCK_SECTION): New.
+       (UNLOCK_SECTION): New.
+       (claim_file_handler): Use the newly added macros.
+       (onload): Likewise.
+       * config.h.in: Regenerate.
+       * configure: Regenerate.
+
 2022-07-01  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
 
        PR lto/106118