Re: [PATCH] gdc 9, 10 and 11 bug fix

2022-05-21 Thread Marc Aurèle La France
On Fri, 20 May 2022, Iain Buclaw wrote: Excerpts from Marc Aurèle La France's message of Mai 20, 2022 6:56 am: On Tue, 17 May 2022, Marc Aurèle La France wrote: On Tue, 17 May 2022, Iain Buclaw wrote: Excerpts from Marc Aurèle La France's message of Mai 17, 2022 5:31 pm: On Tue, 17 May 2022,

[committed] wwwdocs: gcc-12: Fix HTML around RISC-V entries

2022-05-21 Thread Gerald Pfeifer
I'm not sure when that sneaked in (and it predates that last entry), but followed by is one too many in any case. :-) Pushed. Gerald --- htdocs/gcc-12/changes.html | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index

Re: [wwwdocs] gcc-12/changes.html: Document the RISC-V libstdc++ -latomic detection

2022-05-21 Thread Gerald Pfeifer
On Wed, 11 May 2022, Kito Cheng via Gcc-patches wrote: > LGTM, I think document what we really did in GCC 12 is never too late :P Totally. And thanks for doing this, Palmer. I went ahead and made two editorial changes per the patch below which I pushed. Gerald commit

[committed] testsuite: Skip vectorize tests for PRU

2022-05-21 Thread Dimitar Dimitrov
PRU has single-cycle constant cost for any jump, and it cannot vectorise. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/gen-vect-11.c: For PRU target, skip the vectorizing checks in tree dumps. * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto. * gcc.dg/tree-ssa/gen-vect-2.c:

[committed] testsuite: Adjust pr91088.c for default_packed targets

2022-05-21 Thread Dimitar Dimitrov
Committed as obvious. PR ipa/91088 gcc/testsuite/ChangeLog: * gcc.dg/ipa/pr91088.c: Adjust member offset checks to accommodate targets which pack structures by default. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/ipa/pr91088.c | 3 ++- 1 file changed, 2

[committed] testsuite: Skip gcc.dg/pr46647.c for PRU

2022-05-21 Thread Dimitar Dimitrov
Like AVR and Cris, PRU has no alignment requirements. Thus it is also affected by PR53535. PR middle-end/53535 gcc/testsuite/ChangeLog: * gcc.dg/pr46647.c: Skip for pru target. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/pr46647.c | 4 ++-- 1 file changed, 2

[committed] testsuite: Skip ifcvt-4.c for PRU

2022-05-21 Thread Dimitar Dimitrov
PRU has no condition code and conditional moves. gcc/testsuite/ChangeLog: * gcc.dg/ifcvt-4.c: Skip for PRU. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/ifcvt-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c

[committed] testsuite: Mark extra warnings for default_packed

2022-05-21 Thread Dimitar Dimitrov
If the target uses packed structs by default, there are no trailing padding bytes allocated. Hence extra warnings are emitted. Committed as obvious. gcc/testsuite/ChangeLog: * gcc.dg/Warray-bounds-48-novec.c: Add expected warnings if target packs the structs by default.

[PATCH] Simplify vec_unpack of uniform_vector_p constructors in match.pd.

2022-05-21 Thread Roger Sayle
This patch simplifies vec_unpack_hi_expr/vec_unpack_lo_expr of a uniform constructor or vec_duplicate operand. The motivation is from PR 105621 where after optimization, we're left with: vect_cst__21 = {c_8(D), c_8(D), c_8(D), c_8(D)}; vect_iftmp.7_4 = [vec_unpack_hi_expr] vect_cst__21; It

[PING] PR middle-end/95126: Expand small const structs as immediate constants

2022-05-21 Thread Roger Sayle
I'd like to ping my patch for PR middle-end/95126 from February: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590949.html As a regression fix, this has missed GCC 12, but hopefully its suitable for 13 now we're back in stage1. The patch has been refreshed and retested against gcc 13