Daily bump.

This commit is contained in:
GCC Administrator 2023-06-16 00:17:18 +00:00
parent b6cb10af12
commit 7ff793415f
16 changed files with 486 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* configure.ac (--enable-host-pie): New check. Set PICFLAG after this
check.
* configure: Regenerate.
2023-06-14 Filip Kastl <filip.kastl@gmail.com>
* MAINTAINERS: Add myself to write after approval

View File

@ -1,3 +1,11 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Makefile.in: Rename PIEFLAG to PICFLAG. Set LD_PICFLAG. Use it.
Use pic/libiberty.a if PICFLAG is set.
* configure.ac (--enable-default-pie): Set PICFLAG instead of PIEFLAG.
(--enable-host-pie): New check.
* configure: Regenerate.
2023-03-31 Jonathan Wakely <jwakely@redhat.com>
PR bootstrap/101834

View File

@ -1,3 +1,10 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Makefile.in: Set and use PICFLAG and LD_PICFLAG. Use the "pic"
build of libiberty if PICFLAG is set.
* configure.ac:
* configure: Regenerate.
2023-03-28 Xi Ruoyao <xry111@xry111.site>
PR other/109293

View File

@ -1,3 +1,151 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Makefile.in: Set LD_PICFLAG. Use it. Set enable_host_pie.
Remove NO_PIE_CFLAGS and NO_PIE_FLAG. Pass LD_PICFLAG to
ALL_LINKERFLAGS. Use the "pic" build of libiberty if --enable-host-pie.
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG and LD_PICFLAG after this
check.
* configure: Regenerate.
* doc/install.texi: Document --enable-host-pie.
2023-06-15 Manolis Tsamis <manolis.tsamis@vrull.eu>
* regcprop.cc (maybe_mode_change): Enable stack pointer
propagation.
2023-06-15 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/110266
* gimple-range-fold.cc (adjust_imagpart_expr): Check for integer
complex type.
(adjust_realpart_expr): Ditto.
2023-06-15 Jan Beulich <jbeulich@suse.com>
* config/i386/sse.md (<avx512>_vec_dup<mode><mask_name>): Use
vmovddup.
2023-06-15 Jan Beulich <jbeulich@suse.com>
* config/i386/constraints.md: Mention k and r for B.
2023-06-15 Lulu Cheng <chenglulu@loongson.cn>
Andrew Pinski <apinski@marvell.com>
PR target/110136
* config/loongarch/loongarch.md: Modify the register constraints for template
"jumptable" and "indirect_jump" from "r" to "e".
2023-06-15 Xi Ruoyao <xry111@xry111.site>
* config/loongarch/loongarch-tune.h (loongarch_align): New
struct.
* config/loongarch/loongarch-def.h (loongarch_cpu_align): New
array.
* config/loongarch/loongarch-def.c (loongarch_cpu_align): Define
the array.
* config/loongarch/loongarch.cc
(loongarch_option_override_internal): Set the value of
-falign-functions= if -falign-functions is enabled but no value
is given. Likewise for -falign-labels=.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR middle-end/79173
* internal-fn.def (UADDC, USUBC): New internal functions.
* internal-fn.cc (expand_UADDC, expand_USUBC): New functions.
(commutative_ternary_fn_p): Return true also for IFN_UADDC.
* optabs.def (uaddc5_optab, usubc5_optab): New optabs.
* tree-ssa-math-opts.cc (uaddc_cast, uaddc_ne0, uaddc_is_cplxpart,
match_uaddc_usubc): New functions.
(math_opts_dom_walker::after_dom_children): Call match_uaddc_usubc
for PLUS_EXPR, MINUS_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR unless
other optimizations have been successful for those.
* gimple-fold.cc (gimple_fold_call): Handle IFN_UADDC and IFN_USUBC.
* fold-const-call.cc (fold_const_call): Likewise.
* gimple-range-fold.cc (adjust_imagpart_expr): Likewise.
* tree-ssa-dce.cc (eliminate_unnecessary_stmts): Likewise.
* doc/md.texi (uaddc<mode>5, usubc<mode>5): Document new named
patterns.
* config/i386/i386.md (uaddc<mode>5, usubc<mode>5): New
define_expand patterns.
(*setcc_qi_addqi3_cconly_overflow_1_<mode>, *setccc): Split
into NOTE_INSN_DELETED note rather than nop instruction.
(*setcc_qi_negqi_ccc_1_<mode>, *setcc_qi_negqi_ccc_2_<mode>):
Likewise.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR middle-end/79173
* config/i386/i386.md (subborrow<mode>): Add alternative with
memory destination and add for it define_peephole2
TARGET_READ_MODIFY_WRITE/-Os patterns to prefer using memory
destination in these patterns.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR middle-end/79173
* config/i386/i386.md (*sub<mode>_3, @add<mode>3_carry,
addcarry<mode>, @sub<mode>3_carry, *add<mode>3_cc_overflow_1): Add
define_peephole2 TARGET_READ_MODIFY_WRITE/-Os patterns to prefer
using memory destination in these patterns.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
* gimple-fold.cc (gimple_fold_call): Move handling of arg0
as well as arg1 INTEGER_CSTs for .UBSAN_CHECK_{ADD,SUB,MUL}
and .{ADD,SUB,MUL}_OVERFLOW calls from here...
* fold-const-call.cc (fold_const_call): ... here.
2023-06-15 Oluwatamilore Adebayo <oluwatamilore.adebayo@arm.com>
* config/aarch64/aarch64-simd.md (aarch64_<su>abd<mode>):
Rename to <su>abd<mode>3.
* config/aarch64/aarch64-sve.md (<su>abd<mode>_3): Rename
to <su>abd<mode>3.
2023-06-15 Oluwatamilore Adebayo <oluwatamilore.adebayo@arm.com>
* doc/md.texi (sabd, uabd): Document them.
* internal-fn.def (ABD): Use new optab.
* optabs.def (sabd_optab, uabd_optab): New optabs,
* tree-vect-patterns.cc (vect_recog_absolute_difference):
Recognize the following idiom abs (a - b).
(vect_recog_sad_pattern): Refactor to use
vect_recog_absolute_difference.
(vect_recog_abd_pattern): Use patterns found by
vect_recog_absolute_difference to build a new ABD
internal call.
2023-06-15 chenxiaolong <chenxl04200420@163.com>
* config/loongarch/loongarch.h (LARCH_CALL_RATIO): Modify the value
of macro LARCH_CALL_RATIO on LoongArch to make it perform optimally.
2023-06-15 Juzhe-Zhong <juzhe.zhong@rivai.ai>
* config/riscv/riscv-v.cc (shuffle_merge_patterns): New pattern.
(expand_vec_perm_const_1): Add merge optmization.
2023-06-15 Lehua Ding <lehua.ding@rivai.ai>
PR target/110119
* config/riscv/riscv.cc (riscv_get_arg_info): Return NULL_RTX for vector mode
(riscv_pass_by_reference): Return true for vector mode
2023-06-15 Pan Li <pan2.li@intel.com>
* config/riscv/autovec-opt.md: Align the predictor sytle.
* config/riscv/autovec.md: Ditto.
2023-06-15 Pan Li <pan2.li@intel.com>
* config/riscv/riscv-v.cc (rvv_builder::get_merge_scalar_mask):
Take elen instead of scalar BITS_PER_WORD.
(expand_vector_init_merge_repeating_sequence): Use inner_bits_size
instead of scaler BITS_PER_WORD.
2023-06-14 Jivan Hakobyan <jivanhakobyan9@gmail.com>
* config/moxie/uclinux.h (MFWRAP_SPEC): Remove

View File

@ -1 +1 @@
20230615
20230616

View File

@ -1,3 +1,177 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* gcc-interface/Make-lang.in (ALL_ADAFLAGS): Remove NO_PIE_CFLAGS. Add
PICFLAG. Use PICFLAG when building ada/b_gnat1.o and ada/b_gnatb.o.
* gcc-interface/Makefile.in: Use pic/libiberty.a if PICFLAG is set.
Remove NO_PIE_FLAG.
2023-06-15 Marc Poulhiès <poulhies@adacore.com>
* vxworks7-cert-rtp-base-link.spec: Removed.
* vxworks7-cert-rtp-base-link__ppc64.spec: Removed.
* vxworks7-cert-rtp-base-link__x86.spec: Removed.
* vxworks7-cert-rtp-base-link__x86_64.spec: Removed.
* vxworks7-cert-rtp-link.spec: Removed.
* vxworks7-cert-rtp-link__ppcXX.spec: Removed.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.cc (build_binary_op) <MODIFY_EXPR>: Do not
remove a VIEW_CONVERT_EXPR on the LHS if it is also on the RHS.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Variable>: Restrict
the special handling of temporaries created for return values and
subject to a renaming to the top level.
2023-06-15 Ronan Desplanques <desplanques@adacore.com>
* doc/gnat_ugn/about_this_guide.rst: Fix typo. Uniformize punctuation.
* doc/gnat_ugn/the_gnat_compilation_model.rst: Uniformize punctuation.
Fix capitalization. Fix indentation of code block. Fix RST formatting
syntax errors.
* gnat_ugn.texi: Regenerate.
2023-06-15 Yannick Moy <moy@adacore.com>
* sem_attr.adb (Analyze_Attribute): Reject case of Loop_Entry
inside the prefix of Loop_Entry, as per SPARK RM 5.5.3.1(4,8).
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_ch3.adb (Make_Allocator_For_Return): Rewrite the logic that
determines the type used for the allocation and add assertions.
* exp_util.adb (Has_Tag_Of_Type): Also return true for extension
aggregates.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* sinfo.ads (Iterator_Filter): Document field.
* sem_ch5.adb (Analyze_Iterator_Specification): Move comment around.
(Analyze_Loop_Parameter_Specification): Only preanalyze the iterator
filter, if any.
* exp_ch5.adb (Expand_N_Loop_Statement): Analyze the new list built
when an iterator filter is present.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_util.adb (Find_Hook_Context): Revert latest change.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_ch3.adb (Make_Allocator_For_Return): Deal again specifically
with an aggregate returned through an object of a class-wide type.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_ch5.adb (Expand_Iterator_Loop_Over_Container): Do not insert
an always empty list. Remove unused parameter Isc.
(Expand_Iterator_Loop): Adjust call to above procedure.
2023-06-15 Ronan Desplanques <desplanques@adacore.com>
* targparm.adb: Allow pragma Style_Checks in some forms.
* targparm.ads: Document new pragma permission.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_util.ads (Within_Case_Or_If_Expression): Adjust description.
* exp_util.adb (Find_Hook_Context): Stop the search for the topmost
conditional expression, if within one, at contexts where temporaries
may be contained.
(Within_Case_Or_If_Expression): Return false upon first encoutering
contexts where temporaries may be contained.
2023-06-15 Johannes Kliemann <kliemann@adacore.com>
* libgnarl/s-osinte__qnx.adb: Adjust priority conversion function.
* libgnat/system-qnx-arm.ads: Adjust priority range and default
priority.
2023-06-15 Ronan Desplanques <desplanques@adacore.com>
* targparm.ads: Remove references to front-end-based exceptions. Fix
thinko.
2023-06-15 Piotr Trojanek <trojanek@adacore.com>
* contracts.adb (Add_Contract_Item): Add pragma Always_Terminates to
package contract.
* sem_prag.adb (Analyze_Pragma): Accept pragma Always_Terminates on
packages and generic packages, but only when it has no arguments.
2023-06-15 Piotr Trojanek <trojanek@adacore.com>
* sem_prag.adb (Analyze_Pragma): Accept pragma Always_Terminates when
it applies to an entry.
2023-06-15 Piotr Trojanek <trojanek@adacore.com>
* sem_prag.adb (Analyze_Pragma): Reject pragma Always_Terminates when
it applies to a function or generic function.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch4.adb (Analyze_Call): Adjust the test to detect the presence
of an incomplete view of a type on a function call.
2023-06-15 Ronan Desplanques <desplanques@adacore.com>
* ttypes.ads: Remove reference to Ttypef in comment. Fix typo in
comment.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* get_targ.ads (Get_Max_Unaligned_Field): Delete.
* ada_get_targ.adb (Get_Max_Unaligned_Field): Likewise.
* get_targ.adb (Get_Max_Unaligned_Field): Likewise.
* set_targ.ads (Max_Unaligned_Field): Adjust comment.
* set_targ.adb: Set Max_Unaligned_Field to 1 during elaboration.
* ttypes.ads (Max_Unaligned_Field): Delete.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* sem_type.adb (Disambiguate): Fix pasto in the implementation of
the RM 8.4(10) clause for operators.
2023-06-15 Piotr Trojanek <trojanek@adacore.com>
* aspects.adb
(Base_Aspect): Fix layout.
* aspects.ads
(Aspect_Argument): Expression for Always_Terminates is optional.
* sem_prag.adb
(Analyze_Always_Terminates_In_Decl_Part): Only analyze expression when
pragma argument is present.
(Analyze_Pragma): Argument for Always_Terminates is optional; fix
whitespace for Async_Readers.
2023-06-15 Javier Miranda <miranda@adacore.com>
* sem_util.adb
(Is_CPP_Constructor_Call): Add missing support for calls to
functions returning a private type.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* exp_util.ads (Build_Transient_Object_Statements): Remove obsolete
references to array and record aggregates in documentation.
2023-06-15 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch13.adb (Analyze_Aspect_Specifications): Add missing items
in the list of aspects handled by means of Insert_Pragma.
<Aspect_Linker_Section>: Remove obsolete code. Do not delay the
processing of the aspect if the entity is already frozen.
2023-06-15 Piotr Trojanek <trojanek@adacore.com>
* sem_aggr.adb
(Resolve_Array_Aggregate): Simplify comment.
(Resolve_Iterated_Component_Association): Tune comment; change variable
to constant.
2023-06-13 Piotr Trojanek <trojanek@adacore.com>
* sem_aggr.adb (Resolve_Iterated_Component_Association): Simply resolve

View File

@ -1,3 +1,7 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Make-lang.in: Remove NO_PIE_CFLAGS.
2023-06-05 Iain Buclaw <ibuclaw@gdcproject.org>
* gdc.texi (Warnings): Document -Wextra and -Wmismatched-special-enum.

View File

@ -1,3 +1,7 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Make-lang.in: New var, GM2_PICFLAGS. Use it.
2023-06-13 Gaius Mulley <gaiusmod2@gmail.com>
* Make-lang.in (check-format-error): New rule.

View File

@ -1,3 +1,74 @@
2023-06-15 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/110266
* gcc.c-torture/compile/pr110266.c: New test.
2023-06-15 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/110266
* gcc.dg/pr110266.c: New.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/80753
* c-c++-common/missing-header-5.c: New test.
2023-06-15 Thomas Schwinge <thomas@codesourcery.com>
* c-c++-common/Wfree-nonheap-object-3.c: Fix 'dg-warning' for C++.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR middle-end/79173
* gcc.target/i386/pr79173-1.c: New test.
* gcc.target/i386/pr79173-2.c: New test.
* gcc.target/i386/pr79173-3.c: New test.
* gcc.target/i386/pr79173-4.c: New test.
* gcc.target/i386/pr79173-5.c: New test.
* gcc.target/i386/pr79173-6.c: New test.
* gcc.target/i386/pr79173-7.c: New test.
* gcc.target/i386/pr79173-8.c: New test.
* gcc.target/i386/pr79173-9.c: New test.
* gcc.target/i386/pr79173-10.c: New test.
2023-06-15 Oluwatamilore Adebayo <oluwatamilore.adebayo@arm.com>
* gcc.target/aarch64/abd.h: New file.
* gcc.target/aarch64/abd_2.c: New test.
* gcc.target/aarch64/abd_3.c: New test.
* gcc.target/aarch64/abd_4.c: New test.
* gcc.target/aarch64/abd_none_2.c: New test.
* gcc.target/aarch64/abd_none_3.c: New test.
* gcc.target/aarch64/abd_none_4.c: New test.
* gcc.target/aarch64/abd_run_1.c: New test.
* gcc.target/aarch64/sve/abd_1.c: New test.
* gcc.target/aarch64/sve/abd_none_1.c: New test.
* gcc.target/aarch64/sve/abd_2.c: New test.
* gcc.target/aarch64/sve/abd_none_2.c: New test.
2023-06-15 Juzhe-Zhong <juzhe.zhong@rivai.ai>
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-1.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-2.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-3.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-4.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-5.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-6.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge-7.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-1.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-2.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-3.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-4.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-5.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-6.c: New test.
* gcc.target/riscv/rvv/autovec/vls-vlmax/merge_run-7.c: New test.
2023-06-15 Lehua Ding <lehua.ding@rivai.ai>
PR target/110119
* gcc.target/riscv/rvv/base/pr110119-1.c: New test.
* gcc.target/riscv/rvv/base/pr110119-2.c: New test.
2023-06-14 Jason Merrill <jason@redhat.com>
DR 2327

View File

@ -1,3 +1,10 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Makefile.in: Use @PICFLAG@ in COMPILE as well.
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG after this check.
* configure: Regenerate.
2022-11-23 Marek Polacek <polacek@redhat.com>
Revert:

View File

@ -1,3 +1,11 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* Makefile.in: Pass LD_PICFLAG to LDFLAGS.
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG and LD_PICFLAG after this
check.
* configure: Regenerate.
2022-11-23 Marek Polacek <polacek@redhat.com>
Revert:

View File

@ -1,3 +1,18 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG after this check.
* configure: Regenerate.
2023-06-15 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/80753
* files.cc (struct _cpp_file): Add deferred_error bitfield.
(_cpp_find_file): When finding a file in cache with deferred_error
set in _cpp_FFK_NORMAL mode, call open_file_failed and clear the flag.
Set deferred_error in _cpp_FFK_HAS_INCLUDE mode if open_file_failed
hasn't been called.
2023-04-30 Jeff Law <jlaw@ventanamicro>
Revert:

View File

@ -1,3 +1,9 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG after this check.
* configure: Regenerate.
2022-11-23 Marek Polacek <polacek@redhat.com>
Revert:

View File

@ -1,3 +1,19 @@
2023-06-15 Tobias Burnus <tobias@codesourcery.com>
* env.c (gomp_def_allocator_envvar): New var.
(parse_allocator): Handle OpenMP 5.1 syntax.
(cleanup_env): New.
(omp_display_env): Output gomp_def_allocator_envvar
for an allocator with traits.
* libgomp.texi (OMP_ALLOCATOR, OMP_AFFINITY_FORMAT,
OMP_DISPLAY_AFFINITY): New.
* testsuite/libgomp.c/allocator-1.c: New test.
* testsuite/libgomp.c/allocator-2.c: New test.
* testsuite/libgomp.c/allocator-3.c: New test.
* testsuite/libgomp.c/allocator-4.c: New test.
* testsuite/libgomp.c/allocator-5.c: New test.
* testsuite/libgomp.c/allocator-6.c: New test.
2023-06-14 Thomas Schwinge <thomas@codesourcery.com>
* target.c (resolve_device): Align a

View File

@ -1,3 +1,8 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* configure.ac: Also set shared when enable_host_pie.
* configure: Regenerate.
2023-06-13 Nathan Sidwell <nathan@acm.org>
* cp-demangle.c (d_print_conversion): Remove incorrect

View File

@ -1,3 +1,9 @@
2023-06-15 Marek Polacek <polacek@redhat.com>
* configure.ac (--enable-host-shared): Don't set PICFLAG here.
(--enable-host-pie): New check. Set PICFLAG after this check.
* configure: Regenerate.
2022-11-23 Marek Polacek <polacek@redhat.com>
Revert: