]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 24 Mar 2022 00:16:44 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 24 Mar 2022 00:16:44 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/lto/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index a85a4ae1904fde9a73a31f1efea4df1f74a56021..9640ffe4b03c452727bdb84ee3c43f7f059bee29 100644 (file)
@@ -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
index 8f50ebac6ff7b7ce2b11fb7c5210298eb84c84e5..a4374e63098582ae27460bb669f68ca0e000fefd 100644 (file)
@@ -1 +1 @@
-20220323
+20220324
index 4630bcf84b6e128476b9f3220a71ef0d7177b731..293548ac796440234970018a598e5d2e0edc674c 100644 (file)
@@ -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
index 7507231c2b599c7d6c847d122d93b02c704c81d4..215aad519dbc060b2d9c64de784d1c64cfe162ca 100644 (file)
@@ -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
index 2dfdf0608e1ed58868a3ed3b9765a8a2ffeb112e..95ca699339534ddb786734b1b1d167393544c408 100644 (file)
@@ -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
index 99d72e0df29c91c0f02e9d829f3d8bb752c2994e..b815c9b72e6f10191d7cb636058af4821a227f07 100644 (file)
@@ -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
index 3e49f8b85ce2cc78a6054390e8980ea1c9710cf1..d41b8e9fc0dbf3abab65a42b54a2482026193ab0 100644 (file)
@@ -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
index 30f6b7e355cd77cc679ba2bb74fd58f61c7c6e04..e1e60b98a31e9ea26323d4ec023f7b5da84b8e52 100644 (file)
@@ -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
index 27d0e8090b2a1dae8b06febc73703edb58f9fa97..6b272418e40c2848b5c3d4abb88acc069f0b9cfc 100644 (file)
@@ -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]: