]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 9 Jul 2021 00:16:27 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 9 Jul 2021 00:16:27 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index 8f06b05fe1201b9573491be884f29860b3a40ba2..48bb23c7a8f6f4f5df2304c5ec4552f0f602c26e 100644 (file)
@@ -1,3 +1,73 @@
+2021-07-08  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/h8300/shiftrotate.md (variable shifts): Expose condition
+       code handling for the test before the loop.
+
+2021-07-08  Martin Jambor  <mjambor@suse.cz>
+
+       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  <msebor@redhat.com>
+
+       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  <richard.sandiford@arm.com>
+
+       * tree-vect-loop.c (vectorizable_reduction): Remove always-true
+       if condition.
+
+2021-07-08  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * match.pd: Simplify an extend-operate-truncate sequence involving
+       a POLY_INT_CST.
+
+2021-07-08  Roger Sayle  <roger@nextmovesoftware.com>
+           Richard Biener  <rguenther@suse.de>
+
+       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  <ubizjak@gmail.com>
+
+       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<V_32:mode>): Use V_32 mode iterator.
+       (*mov<V_32:mode>_internal): Ditto.
+       (*push<V_32:mode>2_rex64): Ditto.
+       (*push<V_32:mode>2): Ditto.
+       (movmisalign<V_32:mode>): Ditto.
+       (mmx_<any_shiftrt:insn>v1si3): New insn pattern.
+       (sse4_1_<any_extend:code>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  <meissner@linux.ibm.com>
+
+       PR target/100809
+       * config/rs6000/rs6000.md (udivti3): New insn.
+       (divti3): New insn.
+       (umodti3): New insn.
+       (modti3): New insn.
+
 2021-07-07  Martin Sebor  <msebor@redhat.com>
 
        PR tree-optimization/100137
index d94400224d9655cd443b5911400be929412bdb31..23a1b2582b820766fc34858a44c7504357f9cc7d 100644 (file)
@@ -1 +1 @@
-20210708
+20210709
index f04e184342e32c09bda49020ed68dce16fa0cd2d..e513e5b01c18a9004fad283a85aac9c0535868ba 100644 (file)
@@ -1,3 +1,204 @@
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * 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  <schonberg@adacore.com>
+
+       * 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  <duff@adacore.com>
+
+       * 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  <ebotcazou@adacore.com>
+
+       * 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  <duff@adacore.com>
+
+       * 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  <rupp@adacore.com>
+
+       * sigtramp-vxworks-target.inc: Rename to...
+       * sigtramp-vxworks-target.h: ... this.
+       * sigtramp-vxworks.c, Makefile.rtl: Likewise.
+
+2021-07-08  Ghjuvan Lacambre  <lacambre@adacore.com>
+
+       * lib-writ.ads: Mention SCOs dependency as reason for duplicates.
+       * lib.ads (Units): Update documentation to mention duplicated
+       units.
+
+2021-07-08  Ed Schonberg  <schonberg@adacore.com>
+
+       * style.adb (Missing_Overriding): Do not emit message when
+       parent of subprogram is a full type declaration.
+
+2021-07-08  Arnaud Charlet  <charlet@adacore.com>
+
+       * 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  <charlet@adacore.com>
+
+       * 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  <ebotcazou@adacore.com>
+
+       * 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  <trojanek@adacore.com>
+
+       * sem_ch12.adb, sem_ch6.adb, sem_ch9.adb, sprint.adb: Simplify
+       checks for non-empty lists.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * par-ch10.adb (Unit_Display): Remove redundant condition; fix
+       whitespace.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * lib-load.adb (Load): Replace early return with goto to properly
+       restore context on failure.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * lib-writ.adb (Ensure_System_Dependency): Simplify condition.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * 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  <trojanek@adacore.com>
+
+       * par-load.adb (Load): Don't remove unit, but flag it as
+       erroneous and return.
+
+2021-07-08  Ghjuvan Lacambre  <lacambre@adacore.com>
+
+       * exp_prag.adb (Expand_Pragma_Inspection_Point): Fix error
+       message.
+
+2021-07-08  Yannick Moy  <moy@adacore.com>
+
+       * layout.adb (Layout_Type): Do not call Number_Dimensions if the
+       type does not have First_Index set.
+
+2021-07-08  Ghjuvan Lacambre  <lacambre@adacore.com>
+
+       * 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  <moy@adacore.com>
+
+       * layout.adb (Layout_Type): Add guard before calling Expr_Value.
+
+2021-07-08  Yannick Moy  <moy@adacore.com>
+
+       * layout.adb (Layout_Type): Special case when RM_Size and Esize
+       can be computed for packed arrays.
+
+2021-07-08  Steve Baird  <baird@adacore.com>
+
+       * 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  <charlet@adacore.com>
+
+       * gcc-interface/system.ads: Add No_Tasking restriction.
+
+2021-07-08  Ed Schonberg  <schonberg@adacore.com>
+
+       * 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  <charlet@adacore.com>
+
+       * 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  <charlet@adacore.com>
+
+       * debug.adb, sem_util.adb: Revert meaning of -gnatd_b.
+       * sem_res.adb: Minor reformatting.
+
+2021-07-08  Arnaud Charlet  <charlet@adacore.com>
+
+       * make.adb, osint.adb: Make code compatible with
+       No_Dynamic_Accessibility_Checks restriction.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * lib-writ.adb (Ensure_System_Dependency): Replace search in
+       Lib.Units with a search in Lib.Unit_Names.
+
+2021-07-08  Piotr Trojanek  <trojanek@adacore.com>
+
+       * sinput-l.adb (Load_File): Simplify foreword manipulation with
+       concatenation; similar for filename with preprocessed output.
+
 2021-07-07  Dmitriy Anisimkov  <anisimko@adacore.com>
 
        * s-oscons-tmplt.c (MSG_WAITALL): Remove wrong #ifdef
index 31deb047da1468513b0ff84b072b4bec8f06d3bd..4386e5df1aba469d1aaa844051e3f8fc47889ed4 100644 (file)
@@ -1,3 +1,24 @@
+2021-07-08  Martin Sebor  <msebor@redhat.com>
+
+       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  <polacek@redhat.com>
+
+       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  <msebor@redhat.com>
+
+       PR bootstrap/101374
+       * module.cc (module_state::read_macro_maps): Temporarily disable
+       -Warray-bounds.
+       (module_state::install_macros): Same.
+
 2021-07-06  Martin Sebor  <msebor@redhat.com>
 
        * error.c (cp_printer):  Remove support for %G and %K.
index 5543edbf63a806996d464d9ecb87f3b585d13bce..cdd33760d542bf4b4e6fa9106f61b242f8397e88 100644 (file)
@@ -1,3 +1,54 @@
+2021-07-08  Martin Sebor  <msebor@redhat.com>
+
+       * gcc.dg/Wstringop-overflow-43.c: Remove an xfail.
+
+2021-07-08  Martin Sebor  <msebor@redhat.com>
+
+       PR testsuite/100451
+       * g++.dg/warn/Warray-bounds-20.C: Adjust expected output for LP32.
+
+2021-07-08  Martin Sebor  <msebor@redhat.com>
+
+       * g++.dg/warn/Warray-bounds-11.C: Avoid including <new>.
+       * g++.dg/warn/Warray-bounds-13.C: Same.
+
+2021-07-08  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/101087
+       * g++.dg/cpp0x/noexcept70.C: New test.
+
+2021-07-08  Martin Jambor  <mjambor@suse.cz>
+
+       PR ipa/101066
+       * gcc.dg/ipa/pr101066.c: New test.
+
+2021-07-08  Martin Sebor  <msebor@redhat.com>
+
+       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  <christophe.lyon@foss.st.om>
+
+       * gcc.dg/debug/pr57351.c: Require arm_arch_v7a_ok
+       effective-target.
+
+2021-07-08  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gcc.target/aarch64/sve/acle/general/cntb_1.c: New test.
+
+2021-07-08  Roger Sayle  <roger@nextmovesoftware.com>
+           Richard Biener  <rguenther@suse.de>
+
+       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  <meissner@linux.ibm.com>
+
+       PR target/100809
+       * gcc.target/powerpc/p10-vdivq-vmodq.c: New test.
+
 2021-07-07  David Malcolm  <dmalcolm@redhat.com>
 
        * gcc.dg/analyzer/pattern-test-2.c: Update expected results.