aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-24 00:16:44 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-24 00:16:44 +0000
commitd1ca63a1b7d5986913b14567a4950b055a5a3f07 (patch)
tree49dc372d2b427a710d1abfd7ac5ce3f911bffa66
parent4cebae0924248beb2077894c6dc725c306fc0a69 (diff)
downloadgcc-d1ca63a1b7d5986913b14567a4950b055a5a3f07.zip
gcc-d1ca63a1b7d5986913b14567a4950b055a5a3f07.tar.gz
gcc-d1ca63a1b7d5986913b14567a4950b055a5a3f07.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog54
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog50
-rw-r--r--gcc/cp/ChangeLog18
-rw-r--r--gcc/fortran/ChangeLog8
-rw-r--r--gcc/lto/ChangeLog11
-rw-r--r--gcc/testsuite/ChangeLog48
-rw-r--r--libgomp/ChangeLog10
-rw-r--r--libstdc++-v3/ChangeLog31
9 files changed, 231 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a85a4ae..9640ffe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,57 @@
+2022-03-23 Richard Biener <rguenther@suse.de>
+
+ PR target/102125
+ * gimple-fold.cc (gimple_fold_builtin_memory_op): Allow the
+ use of movmisalign when either the source or destination
+ decl is properly aligned.
+
+2022-03-23 Richard Biener <rguenther@suse.de>
+
+ PR rtl-optimization/105028
+ * ira-color.cc (form_threads_from_copies): Remove unnecessary
+ copying of the sorted_copies tail.
+
+2022-03-23 Martin Liska <mliska@suse.cz>
+
+ * config/rs6000/rs6000-c.cc (altivec_resolve_overloaded_builtin):
+ Use %qs in format.
+ * config/rs6000/rs6000.cc (rs6000_option_override_internal):
+ Reword the error message.
+
+2022-03-23 liuhongt <hongtao.liu@intel.com>
+
+ PR target/104976
+ * config/i386/sse.md (ssePSmodelower): New.
+ (*avx_cmp<mode>3_ltint_not): Force_reg operand before
+ lowpart_subreg to avoid NULL_RTX.
+ (<avx512>_fmaddc_<mode>_mask1<round_expand_name>,
+ <avx512>_fcmaddc_<mode>_mask1<round_expand_name>,
+ fma_<mode>_fmaddc_bcst, fma_<mode>_fcmaddc_bcst,
+ <avx512>_<complexopname>_<mode>_mask<round_name>,
+ avx512fp16_fcmaddcsh_v8hf_mask1<round_expand_name>,
+ avx512fp16_fcmaddcsh_v8hf_mask3<round_expand_name>,
+ avx512fp16_fmaddcsh_v8hf_mask3<round_expand_name>,
+ avx512fp16_fmaddcsh_v8hf_mask3<round_expand_name>,
+ float<floatunssuffix><mode>v4hf2,
+ float<floatunssuffix>v2div2hf2,
+ fix<fixunssuffix>_truncv4hf<mode>2,
+ fix<fixunssuffix>_truncv2hfv2di2, extendv4hf<mode>2,
+ extendv2hfv2df2,
+ trunc<mode>v4hf2,truncv2dfv2hf2,
+ *avx512bw_permvar_truncv16siv16hi_1,
+ *avx512bw_permvar_truncv16siv16hi_1_hf,
+ *avx512f_permvar_truncv8siv8hi_1,
+ *avx512f_permvar_truncv8siv8hi_1_hf,
+ *avx512f_vpermvar_truncv8div8si_1,
+ *avx512f_permvar_truncv32hiv32qi_1,
+ *avx512f_permvar_truncv16hiv16qi_1,
+ *avx512f_permvar_truncv4div4si_1,
+ *avx512f_pshufb_truncv8hiv8qi_1,
+ *avx512f_pshufb_truncv4siv4hi_1,
+ *avx512f_pshufd_truncv2div2si_1,
+ sdot_prod<mode>, avx2_pblend<ssemodesuffix>_1,
+ ashrv2di3,ashrv2di3,usdot_prod<mode>): Ditto.
+
2022-03-22 Tom de Vries <tdevries@suse.de>
PR target/104925
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8f50eba..a4374e6 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220323
+20220324
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 4630bcf..293548a 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,53 @@
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104979
+ * engine.cc (impl_run_checkers): Create the engine after the
+ supergraph, and pass the supergraph to the engine.
+ * region-model.cc (region_model::get_lvalue_1): Pass ctxt to
+ frame_region::get_region_for_local.
+ (region_model::update_for_return_gcall): Pass the lvalue for the
+ result to pop_frame as a tree, rather than as a region.
+ (region_model::pop_frame): Update for above change, determining
+ the destination region after the frame is popped and thus with
+ respect to the caller frame rather than the called frame.
+ Likewise, set the value of the region to the return value after
+ the frame is popped.
+ (engine::engine): Add supergraph pointer.
+ (selftest::test_stack_frames): Set the DECL_CONTECT of PARM_DECLs.
+ (selftest::test_get_representative_path_var): Likewise.
+ (selftest::test_state_merging): Likewise.
+ * region-model.h (region_model::pop_frame): Convert first param
+ from a const region * to a tree.
+ (engine::engine): Add param "sg".
+ (engine::m_sg): New field.
+ * region.cc: Include "analyzer/sm.h" and
+ "analyzer/program-state.h".
+ (frame_region::get_region_for_local): Add "ctxt" param.
+ Add assertions that VAR_DECLs are locals, and that expr is for the
+ correct function.
+ * region.h (frame_region::get_region_for_local): Add "ctxt" param.
+
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/105017
+ * sm-taint.cc (taint_diagnostic::subclass_equal_p): Check
+ m_has_bounds as well as m_arg.
+ (tainted_allocation_size::subclass_equal_p): Chain up to base
+ class implementation. Also check m_mem_space.
+ (tainted_allocation_size::emit): Add note showing stack-based vs
+ heap-based allocations.
+
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104997
+ * diagnostic-manager.cc (diagnostic_manager::add_diagnostic):
+ Convert return type from "void" to "bool", reporting success vs
+ failure to caller, for both overloads.
+ * diagnostic-manager.h (diagnostic_manager::add_diagnostic):
+ Likewise.
+ * engine.cc (impl_region_model_context::warn): Propagate return
+ value from diagnostic_manager::add_diagnostic.
+
2022-03-18 David Malcolm <dmalcolm@redhat.com>
PR analyzer/104943
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7507231..215aad5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,21 @@
+2022-03-23 Jason Merrill <jason@redhat.com>
+
+ PR c++/103337
+ * decl.cc (reshape_single_init): New.
+ (reshape_init_class): Use it.
+
+2022-03-23 Jason Merrill <jason@redhat.com>
+
+ PR c++/105006
+ * name-lookup.cc (lookup_using_decl): Check that scope is
+ a dependent type before looking for dependent using.
+
+2022-03-23 Jason Merrill <jason@redhat.com>
+
+ PR c++/105006
+ * name-lookup.cc (lookup_using_decl): Set DECL_DEPENDENT_P if lookup
+ finds a dependent using.
+
2022-03-21 Jason Merrill <jason@redhat.com>
PR c++/58646
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 2dfdf06..95ca699 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,11 @@
+2022-03-23 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/103560
+ * scanner.cc (add_path_to_list): Don't append '/' to the
+ save include path.
+ (open_included_file): Use '/' in concatenating path + file name.
+ * module.cc (gzopen_included_file_1): Likewise.
+
2022-03-22 Harald Anlauf <anlauf@gmx.de>
PR fortran/104999
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 99d72e0..b815c9b 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-23 Tobias Burnus <tobias@codesourcery.com>
+
+ PR middle-end/104285
+ * lto-partition.cc (maybe_rewrite_identifier): Use get_identifier
+ for the returned string to be usable as hash key.
+ (validize_symbol_for_target): Hence, use return value directly.
+ (privatize_symbol_name_1): Track maybe_rewrite_identifier renames.
+ * lto.cc (offload_handle_link_vars): Move function up before ...
+ (do_whole_program_analysis): Call it after static renamings.
+ (lto_main): Move call after static renamings.
+
2022-02-04 Richard Biener <rguenther@suse.de>
PR middle-end/90348
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3e49f8b..d41b8e9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,51 @@
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104979
+ * gcc.dg/analyzer/boxed-malloc-1-29.c: Deleted test, moving the
+ now fixed test_29 to...
+ * gcc.dg/analyzer/boxed-malloc-1.c: ...here.
+ * gcc.dg/analyzer/stale-frame-1.c: Add test coverage.
+
+2022-03-23 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/103560
+ * gfortran.dg/include_14.f90: Update dg-warning.
+ * gfortran.dg/include_17.f90: Likewise.
+ * gfortran.dg/include_18.f90: Likewise.
+ * gfortran.dg/include_6.f90: Update dg-*.
+
+2022-03-23 Jason Merrill <jason@redhat.com>
+
+ PR c++/105006
+ * g++.dg/template/using30.C: New test.
+
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/105017
+ * gcc.dg/analyzer/taint-alloc-1.c: Add expected messages relating
+ to heap vs stack.
+
+2022-03-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104997
+ * gcc.dg/analyzer/write-to-string-literal-4-disabled.c: New test,
+ adapted from write-to-string-literal-4.c.
+
+2022-03-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/102986
+ * gcc.target/i386/sse2-v1ti-shift-3.c (rotr_v1ti, rotl_v1ti, rotr_ti,
+ rotl_ti): Use -i&127 instead of 128-i to avoid UB on i == 0.
+
+2022-03-23 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr104976.c: New test.
+ * gcc.target/i386/avx512fp16-vfcmaddcph-1a.c: Scan either
+ vblendps or masked vmovaps.
+ * gcc.target/i386/avx512fp16-vfmaddcph-1a.c: Ditto
+ * gcc.target/i386/avx512fp16vl-vfcmaddcph-1a.c: Ditto.
+ * gcc.target/i386/avx512fp16vl-vfmaddcph-1a.c: Ditto.
+
2022-03-22 Marek Polacek <polacek@redhat.com>
PR c/82283
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 30f6b7e..e1e60b9 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,13 @@
+2022-03-23 Tobias Burnus <tobias@codesourcery.com>
+
+ PR middle-end/104285
+ * testsuite/libgomp.c++/target-same-name-2-a.C: New test.
+ * testsuite/libgomp.c++/target-same-name-2-b.C: New test.
+ * testsuite/libgomp.c++/target-same-name-2.C: New test.
+ * testsuite/libgomp.c-c++-common/target-same-name-1-a.c: New test.
+ * testsuite/libgomp.c-c++-common/target-same-name-1-b.c: New test.
+ * testsuite/libgomp.c-c++-common/target-same-name-1.c: New test.
+
2022-03-22 Tom de Vries <tdevries@suse.de>
PR target/104916
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 27d0e80..6b27241 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,34 @@
+2022-03-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/105027
+ * include/std/bit (bit_cast): Add constraints.
+ * testsuite/26_numerics/bit/bit.cast/105027.cc: New test.
+
+2022-03-23 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/version [!_GLIBCXX_HOSTED]
+ (__cpp_lib_hardware_interference_size): Define for freestanding.
+ (__cpp_lib_bit_cast): Likewise.
+ (__cpp_lib_is_layout_compatible): Likewise.
+ (__cpp_lib_is_pointer_interconvertible): Likewise.
+ (__cpp_lib_adaptor_iterator_pair_constructor): Do not define for
+ freestanding.
+ (__cpp_lib_invoke_r): Likewise.
+ (__cpp_lib_ios_noreplace): Likewise.
+ (__cpp_lib_monadic_optional): Likewise.
+ (__cpp_lib_move_only_function): Likewise.
+ (__cpp_lib_spanstream): Likewise.
+ (__cpp_lib_stacktrace): Likewise.
+ (__cpp_lib_string_contains): Likewise.
+ (__cpp_lib_string_resize_and_overwrite): Likewise.
+ (__cpp_lib_to_underlying): Likewise.
+
+2022-03-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/105021
+ * include/bits/atomic_base.h [!_GLIBCXX_HOSTED]: Do not include
+ <bits/atomic_wait.h> for freestanding.
+
2022-03-22 Hans-Peter Nilsson <hp@axis.com>
* testsuite/20_util/from_chars/6.cc (test01) [FE_DOWNWARD]: