From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 02A323865C2A; Thu, 24 Mar 2022 00:17:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02A323865C2A MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-7791] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 4cebae0924248beb2077894c6dc725c306fc0a69 X-Git-Newrev: d1ca63a1b7d5986913b14567a4950b055a5a3f07 Message-Id: <20220324001725.02A323865C2A@sourceware.org> Date: Thu, 24 Mar 2022 00:17:24 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2022 00:17:25 -0000 https://gcc.gnu.org/g:d1ca63a1b7d5986913b14567a4950b055a5a3f07 commit r12-7791-gd1ca63a1b7d5986913b14567a4950b055a5a3f07 Author: GCC Administrator Date: Thu Mar 24 00:16:44 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 50 +++++++++++++++++++++++++++++++++++++++++++++ gcc/cp/ChangeLog | 18 +++++++++++++++++ gcc/fortran/ChangeLog | 8 ++++++++ gcc/lto/ChangeLog | 11 ++++++++++ gcc/testsuite/ChangeLog | 48 +++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 10 +++++++++ libstdc++-v3/ChangeLog | 31 ++++++++++++++++++++++++++++ 9 files changed, 231 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a85a4ae1904..9640ffe4b03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,57 @@ +2022-03-23 Richard Biener + + 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 + + PR rtl-optimization/105028 + * ira-color.cc (form_threads_from_copies): Remove unnecessary + copying of the sorted_copies tail. + +2022-03-23 Martin Liska + + * 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 + + PR target/104976 + * config/i386/sse.md (ssePSmodelower): New. + (*avx_cmp3_ltint_not): Force_reg operand before + lowpart_subreg to avoid NULL_RTX. + (_fmaddc__mask1, + _fcmaddc__mask1, + fma__fmaddc_bcst, fma__fcmaddc_bcst, + ___mask, + avx512fp16_fcmaddcsh_v8hf_mask1, + avx512fp16_fcmaddcsh_v8hf_mask3, + avx512fp16_fmaddcsh_v8hf_mask3, + avx512fp16_fmaddcsh_v8hf_mask3, + floatv4hf2, + floatv2div2hf2, + fix_truncv4hf2, + fix_truncv2hfv2di2, extendv4hf2, + extendv2hfv2df2, + truncv4hf2,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, avx2_pblend_1, + ashrv2di3,ashrv2di3,usdot_prod): Ditto. + 2022-03-22 Tom de Vries PR target/104925 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8f50ebac6ff..a4374e63098 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220323 +20220324 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 4630bcf84b6..293548ac796 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,53 @@ +2022-03-23 David Malcolm + + 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 + + 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 + + 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 PR analyzer/104943 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7507231c2b5..215aad519db 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,21 @@ +2022-03-23 Jason Merrill + + PR c++/103337 + * decl.cc (reshape_single_init): New. + (reshape_init_class): Use it. + +2022-03-23 Jason Merrill + + 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 + + PR c++/105006 + * name-lookup.cc (lookup_using_decl): Set DECL_DEPENDENT_P if lookup + finds a dependent using. + 2022-03-21 Jason Merrill PR c++/58646 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2dfdf0608e1..95ca6993395 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,11 @@ +2022-03-23 Tobias Burnus + + 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 PR fortran/104999 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 99d72e0df29..b815c9b72e6 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,14 @@ +2022-03-23 Tobias Burnus + + 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 PR middle-end/90348 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3e49f8b85ce..d41b8e9fc0d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,51 @@ +2022-03-23 David Malcolm + + 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 + + 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 + + PR c++/105006 + * g++.dg/template/using30.C: New test. + +2022-03-23 David Malcolm + + PR analyzer/105017 + * gcc.dg/analyzer/taint-alloc-1.c: Add expected messages relating + to heap vs stack. + +2022-03-23 David Malcolm + + 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 + + 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 + + * 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 PR c/82283 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 30f6b7e355c..e1e60b98a31 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,13 @@ +2022-03-23 Tobias Burnus + + 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 PR target/104916 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 27d0e8090b2..6b272418e40 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,34 @@ +2022-03-23 Jonathan Wakely + + 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 + + * 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 + + PR libstdc++/105021 + * include/bits/atomic_base.h [!_GLIBCXX_HOSTED]: Do not include + for freestanding. + 2022-03-22 Hans-Peter Nilsson * testsuite/20_util/from_chars/6.cc (test01) [FE_DOWNWARD]: