From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 1844D3982CA4; Fri, 9 Jul 2021 00:17:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1844D3982CA4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2179] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 79d3378c7d73814442eb468c562ab8aa572f9c43 X-Git-Newrev: fdc4d2a516d042bc9a6936fad3f887aff353a296 Message-Id: <20210709001704.1844D3982CA4@sourceware.org> Date: Fri, 9 Jul 2021 00:17:04 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2021 00:17:04 -0000 https://gcc.gnu.org/g:fdc4d2a516d042bc9a6936fad3f887aff353a296 commit r12-2179-gfdc4d2a516d042bc9a6936fad3f887aff353a296 Author: GCC Administrator Date: Fri Jul 9 00:16:27 2021 +0000 Daily bump. Diff: --- gcc/ChangeLog | 70 +++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 201 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/cp/ChangeLog | 21 +++++ gcc/testsuite/ChangeLog | 51 ++++++++++++ 5 files changed, 344 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f06b05fe12..48bb23c7a8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,73 @@ +2021-07-08 Jeff Law + + * config/h8300/shiftrotate.md (variable shifts): Expose condition + code handling for the test before the loop. + +2021-07-08 Martin Jambor + + PR ipa/101066 + * ipa-sra.c (class isra_call_summary): New member + m_before_any_store, initialize it in the constructor. + (isra_call_summary::dump): Dump the new field. + (ipa_sra_call_summaries::duplicate): Copy it. + (process_scan_results): Set it. + (isra_write_edge_summary): Stream it. + (isra_read_edge_summary): Likewise. + (param_splitting_across_edge): Only override + safe_to_import_accesses if m_before_any_store is set. + +2021-07-08 Martin Sebor + + PR bootstrap/101374 + * gimple-array-bounds.cc (array_bounds_checker::check_mem_ref): + Use Object Size Type 0 instead of 1. + +2021-07-08 Richard Sandiford + + * tree-vect-loop.c (vectorizable_reduction): Remove always-true + if condition. + +2021-07-08 Richard Sandiford + + * match.pd: Simplify an extend-operate-truncate sequence involving + a POLY_INT_CST. + +2021-07-08 Roger Sayle + Richard Biener + + PR tree-optimization/40210 + * match.pd (bswap optimizations): Simplify (bswap(x)>>C1)&C2 as + (x>>C3)&C2 when possible. Simplify bswap(x)>>C1 as ((T)x)>>C2 + when possible. Simplify bswap(x)&C1 as (x>>C2)&C1 when 0<=C1<=255. + +2021-07-08 Uroš Bizjak + + PR target/100637 + * config/i386/i386-expand.c (ix86_expand_sse_unpack): + Handle V4QI mode. + * config/i386/mmx.md (V_32): New mode iterator. + (mov): Use V_32 mode iterator. + (*mov_internal): Ditto. + (*push2_rex64): Ditto. + (*push2): Ditto. + (movmisalign): Ditto. + (mmx_v1si3): New insn pattern. + (sse4_1_v2qiv2hi2): Ditto. + (vec_unpacks_lo_v4qi): New expander. + (vec_unpacks_hi_v4qi): Ditto. + (vec_unpacku_lo_v4qi): Ditto. + (vec_unpacku_hi_v4qi): Ditto. + * config/i386/i386.h (VALID_SSE2_REG_MODE): Add V1SImode. + (VALID_INT_MODE_P): Ditto. + +2021-07-08 Michael Meissner + + PR target/100809 + * config/rs6000/rs6000.md (udivti3): New insn. + (divti3): New insn. + (umodti3): New insn. + (modti3): New insn. + 2021-07-07 Martin Sebor PR tree-optimization/100137 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index d94400224d9..23a1b2582b8 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210708 +20210709 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index f04e184342e..e513e5b01c1 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,204 @@ +2021-07-08 Piotr Trojanek + + * sem_ch5.adb (Analyze_Assignment): Clear Current_Assignment at + exit. + (Analyze_Target_Name): Prevent AST climbing from going too far. + +2021-07-08 Ed Schonberg + + * sem_ch5.adb (Analyze_Target_Name): Properly reject a + Target_Name when it appears outside of an assignment statement, + or within the left-hand side of one. + +2021-07-08 Bob Duff + + * einfo-utils.ads, einfo-utils.adb (Unknown_Alignment, + Unknown_Component_Bit_Offset, Unknown_Component_Size, + Unknown_Esize, Unknown_Normalized_First_Bit, + Unknown_Normalized_Position, Unknown_Normalized_Position_Max, + Unknown_RM_Size): Remove these functions. + * exp_pakd.adb, exp_util.adb, fe.h, freeze.adb, layout.adb, + repinfo.adb, sem_ch13.adb, sem_ch3.adb, sem_util.adb: Remove + calls to these functions; do "not Known_..." instead. + * gcc-interface/decl.c, gcc-interface/trans.c + (Unknown_Alignment, Unknown_Component_Size, Unknown_Esize, + Unknown_RM_Size): Remove calls to these functions; do + "!Known_..." instead. + +2021-07-08 Eric Botcazou + + * exp_dbug.adb (Get_Encoded_Name): Do not encode names of discrete + types with custom bounds, except with -fgnat-encodings=all. + * exp_pakd.adb (Create_Packed_Array_Impl_Type): Adjust comment. + +2021-07-08 Bob Duff + + * comperr.adb (Compiler_Abort): Call Sinput.Unlock, because if + this is called late, then Source_Dump would crash otherwise. + * debug.adb: Correct documentation of the -gnatd.9 switch. + * exp_ch4.adb (Expand_Allocator_Expression): Add a comment. + * exp_ch6.adb: Minor comment fixes. Add assertion. + * exp_ch6.ads (Is_Build_In_Place_Result_Type): Correct comment. + * exp_ch7.adb, checks.ads: Minor comment fixes. + +2021-07-08 Doug Rupp + + * sigtramp-vxworks-target.inc: Rename to... + * sigtramp-vxworks-target.h: ... this. + * sigtramp-vxworks.c, Makefile.rtl: Likewise. + +2021-07-08 Ghjuvan Lacambre + + * lib-writ.ads: Mention SCOs dependency as reason for duplicates. + * lib.ads (Units): Update documentation to mention duplicated + units. + +2021-07-08 Ed Schonberg + + * style.adb (Missing_Overriding): Do not emit message when + parent of subprogram is a full type declaration. + +2021-07-08 Arnaud Charlet + + * par-ch5.adb (P_Iterator_Specification): Add support for access + definition in loop parameter. + * sem_ch5.adb (Check_Subtype_Indication): Renamed... + (Check_Subtype_Definition): ... into this and check for conformance + on access definitions, and improve error messages. + (Analyze_Iterator_Specification): Add support for access definition + in loop parameter. + +2021-07-08 Arnaud Charlet + + * sem_util.ads, sem_util.adb + (Apply_Compile_Time_Constraint_Error): New parameter + Emit_Message. + * sem_ch4.adb (Analyze_Selected_Component): Disable warning + within an instance. + +2021-07-08 Eric Botcazou + + * exp_imgv.adb: Add with and use clause for Restrict and Rident. + (Build_Enumeration_Image_Tables): Do not generate the hash function + if the No_Implicit_Loops restriction is active. + +2021-07-08 Piotr Trojanek + + * sem_ch12.adb, sem_ch6.adb, sem_ch9.adb, sprint.adb: Simplify + checks for non-empty lists. + +2021-07-08 Piotr Trojanek + + * par-ch10.adb (Unit_Display): Remove redundant condition; fix + whitespace. + +2021-07-08 Piotr Trojanek + + * lib-load.adb (Load): Replace early return with goto to properly + restore context on failure. + +2021-07-08 Piotr Trojanek + + * lib-writ.adb (Ensure_System_Dependency): Simplify condition. + +2021-07-08 Piotr Trojanek + + * lib-load.adb (Load_Unit): Fix style in comment. + * par-load.adb (Load): Likewise. + * scng.adb (Initialize_Scanner): Fix whitespace. + +2021-07-08 Piotr Trojanek + + * par-load.adb (Load): Don't remove unit, but flag it as + erroneous and return. + +2021-07-08 Ghjuvan Lacambre + + * exp_prag.adb (Expand_Pragma_Inspection_Point): Fix error + message. + +2021-07-08 Yannick Moy + + * layout.adb (Layout_Type): Do not call Number_Dimensions if the + type does not have First_Index set. + +2021-07-08 Ghjuvan Lacambre + + * exp_prag.adb (Expand_Pragma_Inspection_Point): After expansion + of the Inspection_Point pragma, check if referenced entities + that have a freeze node are already frozen. If they aren't, emit + a warning and turn the pragma into a no-op. + +2021-07-08 Yannick Moy + + * layout.adb (Layout_Type): Add guard before calling Expr_Value. + +2021-07-08 Yannick Moy + + * layout.adb (Layout_Type): Special case when RM_Size and Esize + can be computed for packed arrays. + +2021-07-08 Steve Baird + + * rtsfind.ads, rtsfind.adb: Add support for finding the packages + System.Atomic_Operations and + System.Atomic_Operations.Test_And_Set and the declarations + within that latter package of the type Test_And_Set_Flag and the + function Atomic_Test_And_Set. + * exp_ch11.adb (Expand_N_Exception_Declaration): If an exception + is declared other than at library level, then we need to call + Register_Exception the first time (and only the first time) the + declaration is elaborated. In order to decide whether to + perform this call for a given elaboration of the declaration, we + used to unconditionally use a (library-level) Boolean variable. + Now we instead use a variable of type + System.Atomic_Operations.Test_And_Set.Test_And_Set_Flag unless + either that type is unavailable or a No_Tasking restriction is + in effect (in which case we use a Boolean variable as before). + +2021-07-08 Arnaud Charlet + + * gcc-interface/system.ads: Add No_Tasking restriction. + +2021-07-08 Ed Schonberg + + * libgnat/a-cohama.ads: Introduce an equality operator over + cursors. + * libgnat/a-cohase.ads: Ditto. + * libgnat/a-cohama.adb: Add body for "=" over cursors. + (Insert): Do not set the Position component of the cursor that + denotes the inserted element. + * libgnat/a-cohase.adb: Ditto. + +2021-07-08 Arnaud Charlet + + * libgnat/a-cbdlli.adb, libgnat/a-cbhama.adb, + libgnat/a-cbhase.adb, libgnat/a-cbmutr.adb, + libgnat/a-cborma.adb, libgnat/a-cborse.adb, + libgnat/a-cobove.adb, libgnat/a-textio.adb, + libgnat/a-witeio.adb, libgnat/a-ztexio.adb: Make code compatible + with No_Dynamic_Accessibility_Checks restriction. + +2021-07-08 Arnaud Charlet + + * debug.adb, sem_util.adb: Revert meaning of -gnatd_b. + * sem_res.adb: Minor reformatting. + +2021-07-08 Arnaud Charlet + + * make.adb, osint.adb: Make code compatible with + No_Dynamic_Accessibility_Checks restriction. + +2021-07-08 Piotr Trojanek + + * lib-writ.adb (Ensure_System_Dependency): Replace search in + Lib.Units with a search in Lib.Unit_Names. + +2021-07-08 Piotr Trojanek + + * sinput-l.adb (Load_File): Simplify foreword manipulation with + concatenation; similar for filename with preprocessed output. + 2021-07-07 Dmitriy Anisimkov * s-oscons-tmplt.c (MSG_WAITALL): Remove wrong #ifdef diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 31deb047da1..4386e5df1ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,24 @@ +2021-07-08 Martin Sebor + + PR bootstrap/101372 + * module.cc (identifier): Suppress warning. + (module_state::read_macro_maps): Remove warning suppression. + (module_state::install_macros): Ditto. + +2021-07-08 Marek Polacek + + PR c++/101087 + * cp-tree.h (unevaluated_p): New. + * except.c (check_noexcept_r): Use it. Don't walk into + unevaluated operands. + +2021-07-08 Martin Sebor + + PR bootstrap/101374 + * module.cc (module_state::read_macro_maps): Temporarily disable + -Warray-bounds. + (module_state::install_macros): Same. + 2021-07-06 Martin Sebor * error.c (cp_printer): Remove support for %G and %K. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5543edbf63a..cdd33760d54 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,54 @@ +2021-07-08 Martin Sebor + + * gcc.dg/Wstringop-overflow-43.c: Remove an xfail. + +2021-07-08 Martin Sebor + + PR testsuite/100451 + * g++.dg/warn/Warray-bounds-20.C: Adjust expected output for LP32. + +2021-07-08 Martin Sebor + + * g++.dg/warn/Warray-bounds-11.C: Avoid including . + * g++.dg/warn/Warray-bounds-13.C: Same. + +2021-07-08 Marek Polacek + + PR c++/101087 + * g++.dg/cpp0x/noexcept70.C: New test. + +2021-07-08 Martin Jambor + + PR ipa/101066 + * gcc.dg/ipa/pr101066.c: New test. + +2021-07-08 Martin Sebor + + PR bootstrap/101374 + * c-c++-common/Warray-bounds-3.c: Xfail assertion. + * c-c++-common/Warray-bounds-4.c: Same. + +2021-07-08 Christophe Lyon + + * gcc.dg/debug/pr57351.c: Require arm_arch_v7a_ok + effective-target. + +2021-07-08 Richard Sandiford + + * gcc.target/aarch64/sve/acle/general/cntb_1.c: New test. + +2021-07-08 Roger Sayle + Richard Biener + + PR tree-optimization/40210 + * gcc.dg/builtin-bswap-13.c: New test. + * gcc.dg/builtin-bswap-14.c: New test. + +2021-07-08 Michael Meissner + + PR target/100809 + * gcc.target/powerpc/p10-vdivq-vmodq.c: New test. + 2021-07-07 David Malcolm * gcc.dg/analyzer/pattern-test-2.c: Update expected results.