summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog74
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog43
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog22
-rw-r--r--gcc/testsuite/ChangeLog26
-rw-r--r--libbacktrace/ChangeLog11
-rw-r--r--libcpp/ChangeLog9
-rw-r--r--libgomp/ChangeLog21
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--lto-plugin/ChangeLog11
11 files changed, 230 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0f291f9f7aa..2f5be38bf54 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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' ->
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 56ceb7f4c69..aa8fe3c8911 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220707
+20220708
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 03918704e9c..06d845465fa 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -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
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 2853661a720..e16014feaae 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 32ff5c07df0..ad72c03dd42 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d5a391e72b6..1c948f52947 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 59766c6e7cf..d81db6b8638 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -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.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 1d03cd31c4b..6b883a08b02 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -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.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 7d1ee616256..11d4f5629ae 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -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' ->
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3a38b0a03c6..3cd8bb7b490 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index e3dd55e572a..16e44c8eed4 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -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