aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-07-08 00:16:22 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-07-08 00:16:22 +0000
commit6345c4145446ff9acc380cdef6bf83fdc3869db5 (patch)
tree9e87f2a7ca9bc22d4d5ad432a4db698fea8c8504 /gcc
parentd8ddf1fa098fa50929ea0a1569a8e38d80fadbaf (diff)
downloadgcc-6345c4145446ff9acc380cdef6bf83fdc3869db5.zip
gcc-6345c4145446ff9acc380cdef6bf83fdc3869db5.tar.gz
gcc-6345c4145446ff9acc380cdef6bf83fdc3869db5.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-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
6 files changed, 172 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0f291f9..2f5be38 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 56ceb7f..aa8fe3c 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220707
+20220708
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 0391870..06d8454 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 2853661..e16014f 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 32ff5c0..ad72c03 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 d5a391e..1c948f5 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