[Bug middle-end/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-09-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
-code |testsuite-fail Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org Last reconfirmed||2023-09-26 Status|UNCONFIRMED |NEW Ever confirmed|0 |1

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #8 from Kewen Lin --- (In reply to Richard Biener from comment #7) > I suppose it works with -fno-tree-vectorize ontop of the flags? Appending -fno-tree-vectorize at the end of the given flags in #c1 (-mstrict-align version), it sti

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Kewen Lin changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #13 f

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-07-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed||2024-07-31 --- Comment #3 from Kewen Lin --- (In reply to Andrew Pinski from comment #2) > (In reply to Andrew Pinski from comment #1) > > This testcase

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-07-31 Thread linkw at gcc dot gnu.org via Gcc-bugs
||https://gcc.gnu.org/piperma ||il/gcc-patches/2024-July/65 ||8826.html Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/116170] [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421

2024-08-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/116170] [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421

2024-08-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 --- Comment #2 from Kewen Lin --- Reduced test case: $ cat test.i int a, d; _Float128 b, c; void e() { int f = 0; if (a) if (b || c) f = 1; if (d) e(f ? 0 : b); } Options: -w -fstack-protector-strong -ffloat-store -O2 -mcpu

[Bug target/116170] [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421

2024-08-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/105359] _Float128 expanders and builtins disabled on ppc targets with 64-bit long double

2024-08-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105359 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-08-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 --- Comment #10 from Kewen Lin --- (In reply to John David Anglin from comment #9) > These two are reversed: > Breakpoint 2 at 0x105a8: file > /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/fam-in-union-alone-in- > struct-2.c, line 49. > (gdb

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-08-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 --- Comment #11 from Kewen Lin --- Well, I guess the hppa issue isn't due to endianness any more, but the signedness of char. 0x8f as signed char would be promoted to ff8f, which is unexpected. Could you help to verify it can pass with -fun

[Bug target/116266] New: rs6000: P10 vector insn ICE with -mno-vsx

2024-08-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- I happened to notice that our Power10 vector instructions are only guarded with TARGET_POWER10, some ICE is like: #include "altivec.h" vector unsigned char foo (vecto

[Bug target/116266] rs6000: P10 vector insn ICE with -mno-vsx

2024-08-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
||powerpc* Status|UNCONFIRMED |ASSIGNED Keywords||ice-on-valid-code Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last reconfirmed||2024-08-07

[Bug testsuite/114842] rs6000: Adjust some test cases with powerpc_vsx_ok

2024-08-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114842 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-08-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug target/116170] [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421

2024-08-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 --- Comment #6 from Kewen Lin --- (In reply to Segher Boessenkool from comment #4) > Is that strong enough? A const_vector (or a const_anything) as lhs of a set > does not make sense at all. How did we even try this, is some more generic > thi

[Bug target/116170] [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421

2024-08-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/112993] rs6000: Rework precision for 128bit float types and modes

2024-08-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112993 Bug 112993 depends on bug 116170, which changed state. Bug 116170 Summary: [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170 What|Removed

[Bug target/116030] [15 regression] ICE "could not split insn" in final_scan_insn_1, at final.cc on power pc since r15-1576-g6274f10318d053

2024-08-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116030 Kewen Lin changed: What|Removed |Added Summary|ICE "could not split insn" |[15 regression] ICE "could

[Bug target/116415] [12/13/14/15 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 --- Comment #8 from Kewen Lin --- Some more information: bisection showed it started to fail from r12-4240-g2b8453c401b699 which enabled vectorization at -O2. But by further checking, I confirmed that commit just exposed this latent issue, if we

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
|ASSIGNED CC||linkw at gcc dot gnu.org Last reconfirmed||2024-08-23 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- Confirmed, this is a test case

[Bug other/116462] [15 regression] new test case gcc.dg/debug/dwarf2/inline7.c from r15-3083-gbcb33b1237042e fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |bernd.edlinger at hotmail dot de Last reconfirmed||2024-08-23 CC||linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 --- Comment #3 from Kewen Lin --- (In reply to Andrew Pinski from comment #2) > The easiest fix is todo: > ``` > for (int i = 0; i < N; ++i) > { > a[i] = BASE1 + i * 5; > b[i] = BASE2 - i * 4; > /* b[i] cannot be 0 as tha

[Bug other/109149] new test case gcc.dg/vect/pr108950.c from r12-9262-gf4e4108dd00508 fails

2023-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109149 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/109082] emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109082 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/109167] New: rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- When I was investigating PR109082, I happened to find that in gcc/config/rs6000/emmintrin.h, we have different definitions

[Bug target/109167] rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
||powerpc*-linux-gnu Last reconfirmed||2023-03-17 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Kewen Lin --- The pair _mm_srli_si128 and

[Bug target/109259] New: rs6000:pass_analyze_swaps should preserve some rtx notes

2023-03-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- When I was constructing test case for PR109069, I found that rs6000 specific pass pass_analyze_swaps doesn't try to preserve REG_EQUAL

[Bug target/109259] rs6000:pass_analyze_swaps should preserve some rtx notes

2023-03-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109259 Kewen Lin changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug target/109167] rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109167 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/109082] emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive

2023-03-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109082 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/109311] New: [13 Regression] bb_is_just_return miss to realize some bb from r13-6873-g776a5bb5894315

2023-03-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
Severity: critical Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- Commit r13-6873-g776a5bb5894315 changed BB insns walking order under the assumption that the

[Bug rtl-optimization/109311] [13 Regression] bb_is_just_return miss to realize some bb from r13-6873-g776a5bb5894315

2023-03-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109311 Kewen Lin changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/108815] gcc.target/powerpc/pr83677.c fails on power 9 BE

2023-04-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108815 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/108807] [11/12 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #6 from Kewen Lin --- (In reply to Jeffrey A. Law from comment #5) > Kewen, is this BZ fixed on the trunk? If so we should update the title by > dropping the "/13" so that's not flagged as a gcc-13 regression. Yes, thanks for remin

[Bug target/108807] [11/12 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/102146] [11 regression] several test cases fails after r11-8940

2023-04-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102146 --- Comment #23 from Kewen Lin --- *** Bug 105267 has been marked as a duplicate of this bug. ***

[Bug testsuite/105267] [12/13/14 regression] gcc.target/powerpc/pr56605.c fails after r12-8128-g6b7cc7294770ec

2023-04-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105267 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/108758] [12/13 Regression] gcc.target/powerpc/float128-cmp2-runnable.c fails with excess errors on power 9 BE since r12-5752

2023-04-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Last reconfirmed||2023-04-26 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Summary|gcc.target/powerpc/float128 |[12/13 Regression

[Bug target/109069] [12/13 Regression] Vector truncation test program produces incorrect result since r12-6537-g080a06fcb076b3

2023-05-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109069 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/108758] [12/13 Regression] gcc.target/powerpc/float128-cmp2-runnable.c fails with excess errors on power 9 BE since r12-5752

2023-05-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108758 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/109793] new test case gcc.dg/vect/pr108950.c from r11-10752-gd4cbcb9e45c6d4 fails

2023-05-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- This is dup of PR108985, it missed to backport r13-6406-ga2926653ebbc88e8bba335563fa86b44651598d6 to gcc-11 release branch.

[Bug rtl-optimization/109858] New: r14-172 caused some SPEC2017 bmk to degrade on Power

2023-05-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- On Power9, - at option -Ofast, 557.xz_r degraded -1.06%. - at option -Ofast, 511.povray_r degraded -1.24%. On Power10, - at option -O2, 520.omnetpp_r

[Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power

2023-05-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 --- Comment #3 from Kewen Lin --- (In reply to Hongtao.liu from comment #2) > Does https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617431.html help? Sorry, I just measured those degraded bmks with this fix, the results showed it didn't help.

[Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power

2023-05-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 --- Comment #6 from Kewen Lin --- (In reply to Hongtao.liu from comment #5) > (In reply to Kewen Lin from comment #3) > > (In reply to Hongtao.liu from comment #2) > > > Does https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617431.html help? >

[Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power

2023-05-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 --- Comment #9 from Kewen Lin --- (In reply to Kewen Lin from comment #6) > (In reply to Hongtao.liu from comment #5) > > (In reply to Kewen Lin from comment #3) > > > (In reply to Hongtao.liu from comment #2) > > > > Does https://gcc.gnu.org/pi

[Bug target/109610] [14 regression] gcc.target/powerpc/dform-3.c fails after r14-172-g0368d169492017

2023-05-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109610 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #12

[Bug testsuite/114614] New test case gcc.misc-tests/gcov-20.c from r14-9789-g08a52331803f66 fails

2024-04-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last reconfirmed||2024-04-08 CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- It requires effective target

[Bug testsuite/114642] new test case gcc.dg/debug/btf/btf-datasec-3.c from r14-6195-gb8cf266f4ca4ff fails for 32 bits

2024-04-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
||il/gcc-patches/2024-April/6 ||48994.html CC||linkw at gcc dot gnu.org Status|NEW |ASSIGNED Assignee|unassigned at gcc dot

[Bug testsuite/114614] New test case gcc.misc-tests/gcov-20.c from r14-9789-g08a52331803f66 fails

2024-04-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114614 Kewen Lin changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #13 from Kewen Lin --- (In reply to Giuliano Belinassi from comment #12) > With your patch we have: > > > .LPFE0: > > ... > Which seems what is expected. Hi Giuliano, thanks for your time on testing it! Could you kindly help to ex

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #15 from Kewen Lin --- (In reply to Michael Matz from comment #14) > Hmm? But this is not how the global-to-local hand-off is implemented (and > expected by tooling): a fall-through. The global entry sets up the GOT > register, the

[Bug rtl-optimization/114664] -fno-omit-frame-pointer causes an ICE during the build of the greenlet package

2024-04-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114664 --- Comment #8 from Kewen Lin --- (In reply to Peter Bergner from comment #7) > (In reply to Andrew Pinski from comment #6) > > Pre-IRA fix was done to specifically reject this: > > https://inbox.sourceware.org/gcc-patches/ > > ab3a6199070202165

[Bug lto/114662] [14 regression] new test case c_lto_pr113359-2 from r14-9841-g1e3312a25a7b34 fails

2024-04-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Last reconfirmed||2024-04-10 Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Kewen Lin --- I think this is a test issue

[Bug testsuite/114662] [14 regression] new test case c_lto_pr113359-2 from r14-9841-g1e3312a25a7b34 fails

2024-04-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114662 Kewen Lin changed: What|Removed |Added Component|lto |testsuite Target Milestone|---

[Bug testsuite/114662] [14 regression] new test case c_lto_pr113359-2 from r14-9841-g1e3312a25a7b34 fails

2024-04-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114662 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/114567] rs6000: explicit _Float128 doesn't generate optimal code

2024-04-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114567 --- Comment #1 from Kewen Lin --- This is power8 LE specific, for KFmode its mov expander calls rs6000_emit_le_vsx_move, so it's with V1TI subreg, then rs6000 specific pass swaps generate one MEM with AND -16, which make combine unable to optimi

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #17 from Kewen Lin --- (In reply to Michael Matz from comment #16) > (In reply to Kewen Lin from comment #15) > > I agree, thanks for the comments! btw, I'm not fighting for the current > > implementation, just want to know more deta

[Bug testsuite/114744] test case gcc.target/powerpc/builtins-6-p9-runnable.c fails

2024-04-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114744 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org Ever

[Bug testsuite/114744] test case gcc.target/powerpc/builtins-6-p9-runnable.c fails

2024-04-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114744 Kewen Lin changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug target/105359] _Float128 expanders and builtins disabled on ppc targets with 64-bit long double

2024-04-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
||2024-04-23 Keywords||missed-optimization Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/88309] [11/12/13/14 Regression] ICE: Floating point exception (in is_miss_rate_acceptable), target assigning alignent of 4 bits(!) to vector

2024-04-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88309 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/114842] New: rs6000: Adjust some test cases with powerpc_vsx_ok

2024-04-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- The current effective target powerpc_vsx_ok is mainly to check if it's fine to specify -mvsx (without any warnings etc.) and can finally result in a object fil

[Bug testsuite/114842] rs6000: Adjust some test cases with powerpc_vsx_ok

2024-04-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last reconfirmed||2024-04-25 Target Milestone|--- |15.0 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED

[Bug testsuite/114842] rs6000: Adjust some test cases with powerpc_vsx_ok

2024-04-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114842 --- Comment #1 from Kewen Lin --- We can extend powerpc_vsx to consider current_compiler_flags, it means that if a test case has an explicit -mvsx, even if users specify -mno-vsx it's still able to be tested if powerpc_vsx checking concludes VSX

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-04-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
||2024-04-25 Status|UNCONFIRMED |NEW CC||bergner at gcc dot gnu.org, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-04-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 --- Comment #2 from Kewen Lin --- As https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114843#c8, we may need some similar handling like r14-6440-g4b421728289e6f.

[Bug target/44793] [11/12/13/14/15 Regression] libgcc does not include t-ppccomm on rtems

2024-04-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
|--- |WORKSFORME CC||linkw at gcc dot gnu.org --- Comment #26 from Kewen Lin --- libgcc/config.host on gcc-11 has: powerpc-*-rtems*) tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-p

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-04-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug testsuite/113535] rs6000, testsuite: Re-visit the current vect_* for Power

2024-04-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113535 --- Comment #1 from Kewen Lin --- One issue: https://gcc.gnu.org/pipermail/gcc-patches/2024-April/650171.html

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-04-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 --- Comment #5 from Kewen Lin --- Created attachment 58067 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58067&action=edit untested patch

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-05-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 Kewen Lin changed: What|Removed |Added Attachment #58067|0 |1 is obsolete|

[Bug target/114402] rs6000: ICE when long double is ieee128 format by default but without vsx

2024-05-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114402 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-05-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-05-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 --- Comment #8 from Kewen Lin --- Should be fixed on trunk, it's not a regression, but we probably want backporting this?

[Bug target/114846] powerpc: epilogue in _Unwind_RaiseException corrupts return value due to __builtin_eh_return

2024-05-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114846 --- Comment #10 from Kewen Lin --- (In reply to Peter Bergner from comment #9) > (In reply to Kewen Lin from comment #8) > > Should be fixed on trunk, it's not a regression, but we probably want > > backporting this? > > For code correctness bu

[Bug target/115282] [15 regression] gcc.dg/vect/costmodel/ppc/costmodel-slp-12.c fails after r15-812-gc71886f2ca2e46

2024-05-31 Thread linkw at gcc dot gnu.org via Gcc-bugs
|NEW CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Kewen Lin --- (In reply to Richard Biener from comment #1) > I don't see a good reason why, but I don't have a BE cr

[Bug target/115355] PPCLE: Auto-vectorization creates wrong code for Power9

2024-06-05 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2024-06-05 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #4 from Kewen Lin --- Thanks for reporting, I'll have a look first.

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-06-05 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #8 from Kewen Lin --- (In reply to Peter Bergner from comment #5) > FYI, fails for me with gcc 12 and later and works with gcc 11. It also > fails with -O3 -mcpu=power10. Thanks for the information, bisection shows r12-4496 is the

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-06-05 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #9 from Kewen Lin --- (In reply to Peter Bergner from comment #7) > The test fails when setToIdentityBAD's index var is unsigned int. It passes > when using unsigned long long, unsigned long, unsigned short and unsigned > char. Whe

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-06-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #11 from Kewen Lin --- (In reply to Jens Seifert from comment #10) > Does this affect loop vectorize and slp vectorize ? > > -fno-tree-loop-vectorize avoids loop vectorization to be performed and > workarounds this issue. Does the s

[Bug testsuite/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-10-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111427 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-10-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #10 from Kewen Lin --- (In reply to Carl Love from comment #9) > I made a copy of rs6000-overload.def and then with a series of emacs macros > converted the list of builtins to a script to grep for the builtins in the > test director

[Bug target/111784] [14 Regression] aarch64: ldp_stp_{15, 16, 17, 18}.c test failures since r14-4579

2023-10-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
: |ldp_stp_{15,16,17,18}.c |ldp_stp_{15,16,17,18}.c |test failures |test failures since ||r14-4579 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #16 from Kewen Lin --- Tracing down it with template specialization, the aborting happens on auto vn_b = Load(dn, in_b.get()); HWY_ASSERT_VEC_EQ( dw, vw_signed_max, SatWidenMulPairwiseAdd( dw, InterleaveLow

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #18 from Kewen Lin --- (In reply to Richard Biener from comment #17) > it stores to a different object - but seeing the CLOBBERs, does > -fstack-reuse=none fix the issue? Is r1 the stack pointer? Just tried with -fstack-reuse=none,

[Bug target/111380] Inconsistent behaviors between non-LTO and LTO

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111380 Kewen Lin changed: What|Removed |Added Keywords||wrong-code Status|ASSIGNED

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/111828] New: rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: jan.wassenberg at gmail dot com, john_platts at hotmail dot com, linkw at gcc dot gnu.org, malat at

[Bug target/111522] Different code path for static initialization with flto

2023-10-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 Kewen Lin changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #20 from Kewen Lin --- (In reply to Richard Biener from comment #19) > So maybe it's the same issue as PR90348 (you can verify the RTL expansion > dump on whether the two involved decls are coalesced and see whether that's > valid).

[Bug target/111828] rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111828 --- Comment #3 from Kewen Lin --- (In reply to Peter Bergner from comment #1) > (In reply to Kewen Lin from comment #0) > > Technically speaking we are able to parse the inline asm string and figure > > out it's HTM related or not. Excepting fo

[Bug target/111828] rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111828 Kewen Lin changed: What|Removed |Added Priority|P3 |P4 --- Comment #8 from Kewen Lin --- (In r

[Bug rtl-optimization/101169] [10 regression] test case gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r10-9880

2023-10-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101169 --- Comment #6 from Kewen Lin --- PR111850 reminded me this bug, the sub-optimal issue described in #comment 4 has been fixed on latest trunk, I think it's r14-4664-g04c9cf5c786b94.

[Bug testsuite/111850] [14 regression] gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r14-4664-g04c9cf5c786b94

2023-10-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #3

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #21 from Kewen Lin --- For optimized IR: a$raw$3_220 = D.39813.rawD.30221[3]; vect_a_raw_4_70.539_1584 = MEM [(short intD.20 *)&D.39813 + 8B]; _1640 = a$raw$0_221 & 255; _1649 = a$raw$1_74 & 255; _1658 = a$raw$2_264 & 255

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #24 from Kewen Lin --- (In reply to Richard Biener from comment #22) > I see the mems properly get their base adjusted: > > (insn 384 383 0 (set (mem/c:V2DI (plus:DI (reg/f:DI 112 virtual-stack-vars) > (const_int 16

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #26 from Kewen Lin --- (In reply to Richard Biener from comment #25) > (In reply to Kewen Lin from comment #24) > > (In reply to Richard Biener from comment #22) > > > I see the mems properly get their base adjusted: > > > > > > (in

<    3   4   5   6   7   8   9   10   >