[Bug target/105485] ICE: Segmentation fault in pcrel-opt.md:get_insn_name()

2022-05-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105485 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc dot

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/105334] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads)

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

[Bug target/103605] [PowerPC] fmin/fmax should be inlined always with xsmindp/xsmaxdp

2022-04-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103605 --- Comment #7 from Kewen Lin --- (In reply to pc from comment #5) > I modified the testcase from comment #3 to clear-before and check-after > FE_INVALID exception bit for each operation: > -- > $ /opt/gcc-nightly/trunk/bin/gcc -O2 -o

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

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

[Bug target/105325] power10: Error: operand out of range

2022-04-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 --- Comment #10 from Kewen Lin --- (In reply to Jakub Jelinek from comment #9) > where it no longer satisfies the predicate but does satisfy the constraint. > It is unclear if there is any matching constraint for ds_form_mem_operand, > maybe

[Bug target/105334] [12 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads)

2022-04-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105334 --- Comment #5 from Kewen Lin --- Oops, sorry that I just verified the original case in PR103623 previously, missed to find it doesn't have pack bif. Maybe we could add one test case to cover both unpack and pack ICEs, such as: $cat

[Bug target/105325] power10: Error: operand out of range

2022-04-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #5

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

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

2022-04-19 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 CC||linkw at gcc dot gnu.org --- Comment #2

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

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

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

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

[Bug testsuite/105266] new test case gcc.dg/pr105250.c fails with excess errors in r12-8134-g4e892de6774f86

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

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added Summary|ICE in extract_insn, at |[12 Regression] ICE in

[Bug target/105271] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-04-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug testsuite/105266] new test case gcc.dg/pr105250.c fails with excess errors in r12-8134-g4e892de6774f86

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

[Bug testsuite/105266] new test case gcc.dg/pr105250.c fails with excess errors in r12-8134-g4e892de6774f86

2022-04-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105266 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #1

[Bug target/105234] [12 Regression] inlining failed in call to 'always_inline' 'memset': target specific option mismatch since r12-5920-g01ad8c54fdca1d

2022-04-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234 --- Comment #13 from Kewen Lin --- Just noticed this, many thanks for triaging and fixing!

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

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

[Bug target/105213] New: Extend __builtin_{un,}pack_{longdouble,ibm128} valid for soft-float

2022-04-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105213 Bug ID: 105213 Summary: Extend __builtin_{un,}pack_{longdouble,ibm128} valid for soft-float Product: gcc Version: 12.0 URL:

[Bug testsuite/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

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

[Bug target/101714] [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time

2022-04-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101714 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

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

[Bug c++/90448] [8/9/10/11 Regression] decltype-based lambda parameter pack is rejected

2022-04-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90448 --- Comment #16 from Kewen Lin --- *** Bug 90226 has been marked as a duplicate of this bug. ***

[Bug target/90226] ICE in expand_expr_addr_expr_1, at expr.c:7994

2022-04-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90226 Kewen Lin changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/104967] ICE: Segmentation fault (in find_instance)

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

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 --- Comment #5 from Kewen Lin --- Patch was just posted at https://gcc.gnu.org/pipermail/gcc-patches/2022-March/592204.html.

[Bug target/104967] ICE: Segmentation fault (in find_instance)

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104967 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/104930] overloaded built-in functions require "-flax-vector-conversions" to get better warning

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 --- Comment #4 from Kewen Lin --- Hi @Peter and @Segher, do you agree that the previous behavior is better? That is users don't need one extra option ‘-flax-vector-conversions’ to get more accurate warnings. The associated trial patch tries to

[Bug target/104930] overloaded built-in functions require "-flax-vector-conversions" to get better warning

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 --- Comment #3 from Kewen Lin --- Created attachment 52669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52669=edit A trial patch

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 --- Comment #4 from Kewen Lin --- Created attachment 52668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52668=edit Untested patch Putting it through testing.

[Bug target/104967] ICE: Segmentation fault (in find_instance)

2022-03-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104967 Kewen Lin changed: What|Removed |Added Last reconfirmed||2022-03-23 Assignee|unassigned

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 --- Comment #2 from Kewen Lin --- One fix has been posted via https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591768.html

[Bug target/104930] built-in function requires "-flax-vector-conversions" to get better warning

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 --- Comment #2 from Kewen Lin --- It's regressed from r12-5752-gd08236359eb229, in the new bif infrastructure we don't use the type opaque_V4SI_type_node for prototype of overloaded built-in functions any more.

[Bug target/104930] built-in function requires "-flax-vector-conversions" to get better warning

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

[Bug target/104930] New: built-in function requires "-flax-vector-conversions" to get better warning

2022-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104930 Bug ID: 104930 Summary: built-in function requires "-flax-vector-conversions" to get better warning Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

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

[Bug testsuite/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-03-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 --- Comment #5 from Kewen Lin --- (In reply to Richard Biener from comment #4) > Or adjust the testcase. Please? Thanks for the suggestion! I adjusted the test case by making it not unrolled any more, as the patch posted at

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-03-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 Kewen Lin changed: What|Removed |Added Last reconfirmed||2022-03-08 Assignee|unassigned

[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-02-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Kewen Lin changed: What|Removed |Added Last reconfirmed||2022-02-25 Status|UNCONFIRMED

[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #10 from Kewen Lin --- (In reply to rguent...@suse.de from comment #9) > On Wed, 23 Feb 2022, linkw at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 > > > > --- Comment #8 from Kewen Lin --- > >

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #8 from Kewen Lin --- I had one local hack and just found it can survive on x86 bootstrapping and regression testing. I guess maybe it's good to post here. Just ignore this if it looks like noise. :) The point is to do the

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 --- Comment #5 from Kewen Lin --- (In reply to Segher Boessenkool from comment #4) > You miss all extra errors the expand_call can generate. This is the general > reason why we try to continue instead of stopping after the first error. The >

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 Kewen Lin changed: What|Removed |Added CC||meissner at gcc dot gnu.org,

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Kewen Lin

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2022-02-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #31 from Kewen Lin --- Thanks for the comments, Segher and Peter! Your comments answered my question in mind that the current unpack/pack pattern supports are complete or not. IIUC, to cover it for both soft-float and hard-float

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2022-02-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #4 from Kewen Lin --- (In reply to Segher Boessenkool from comment #3) > Most of those options were removed. Does this problem (adjusted properly, > those options are now enabled iff you use -mcpu=power10 or later) still > happen

[Bug tree-optimization/104595] New: unvectorized loop due to bool condition loaded from memory

2022-02-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 Bug ID: 104595 Summary: unvectorized loop due to bool condition loaded from memory Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2022-02-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2022-02-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #2 from Kewen Lin --- Created attachment 52475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52475=edit Tested patch

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2022-02-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #26 from Kewen Lin --- Created attachment 52474 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52474=edit Untested patch

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2022-02-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #25 from Kewen Lin --- The key difference from the previous bif support is that: previously we checked TARGET_HARD_FLOAT but now we didn't. I think we still need to check it, as the document here

[Bug target/99197] Built-ins for packing/unpacking __ibm128 not documented

2022-02-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99197 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2

[Bug target/104004] [12 Regression] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2022-02-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104004 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2022-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2022-02-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

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

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #35 from Kewen Lin --- > I don't think the r12-6219 commit qualifies for backporting. What about the > comment#31 patch? Does it address the issue for Eigen on the branches? Got it. comment#31 patch can only address the mismatch

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

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

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #32 from Kewen Lin --- (In reply to Michael Meissner from comment #31) > Created attachment 52383 [details] > Simpler patch to fix the problem with power8-fusion. > > This patch just ignores the -mpower8-fusion option in the callee

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #30 from Kewen Lin --- (In reply to pc from comment #27) > There was a commit related to this bug, but it is still in ASSIGNED state, > so I'm not sure if this was to be considered "fixed", but... > > Chip discovered that, with a

[Bug target/103702] [12 Regression] ICE in update_target_cost_per_stmt, at config/rs6000/rs6000.c:5457

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

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

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

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 --- Comment #11 from Kewen Lin --- (In reply to rsand...@gcc.gnu.org from comment #10) > Checking the number of tries might be useful, but if so, I think > it should be done by a test that was written for that specific > purpose. The tst can

[Bug target/103702] [12 Regression] ICE in update_target_cost_per_stmt, at config/rs6000/rs6000.c:5457

2022-01-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103702 --- Comment #4 from Kewen Lin --- Patch was posted with the link https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587309.html, still pending on review.

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 --- Comment #9 from Kewen Lin --- (In reply to rsand...@gcc.gnu.org from comment #6) > I think the patch in comment 2 is the correct fix (OK to commit). > Thanks for the review and approval Richard! I totally agree this test case can be

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 --- Comment #4 from Kewen Lin --- Hi Andre, Thanks for the detailed explanations all below! (In reply to avieira from comment #3) > Hi Kewen, > > Thanks for the analysis. The param_vect_partial_vector_usage suggestion > seems valid, but that

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/104004] [12 Regression] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2022-01-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104004 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 Kewen Lin changed: What|Removed |Added Last reconfirmed|2021-12-10 00:00:00 |2021-12-27 --- Comment #21 from Kewen Lin

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #20 from Kewen Lin --- (In reply to Arseny Solokha from comment #19) > (In reply to Kewen Lin from comment #17) > > (In reply to Arseny Solokha from comment #16) > > > Could there be any ld, or as, or glibc features involved that

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #17 from Kewen Lin --- (In reply to Arseny Solokha from comment #16) > Could there be any ld, or as, or glibc features involved that gcc's > configure detects at build time? Good point, what's the version of binutils you used? Does

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #15 from Kewen Lin --- > > I tried it on a x86_64 cfarm machine: > > /home/linkw/gcc/gcc-test/configure --host=x86_64-pc-linux-gnu > --target=powerpc-e300c3-linux-gnu --build=x86_64-pc-linux-gnu >

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #14 from Kewen Lin --- > % powerpc-e300c3-linux-gnu-gcc-12.0.0 -v > Using built-in specs. > COLLECT_GCC=powerpc-e300c3-linux-gnu-gcc-12.0.0 > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-e300c3-linux-gnu/12.0.0/lto- > wrapper >

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #12 from Kewen Lin --- (In reply to Arseny Solokha from comment #11) > Unfortunately, I still have exactly the same ICE on this testcase w/ 12.0.0 > alpha20211219 snapshot: > > % powerpc-e300c3-linux-gnu-gcc-12.0.0 -mcpu=401 tt.c

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #4 from Kewen Lin --- For test.c, even we are on ppc64le P9, it can also get ICE: extern float *dest; extern __vector_quad src; int foo () { __builtin_mma_disassemble_acc (dest, ); return 0; } $ gcc test.c -mcpu=power10

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #3 from Kewen Lin --- Also failed with r12-0. I looked into the ICE with -mcpu=power6 -m32 on BE, the direct reason is that we turn off VSX flag but still leave MMA, when it wants to emit one move for V16QI it has to use multiple

[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

2021-12-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102347 --- Comment #19 from Kewen Lin --- Filed PR103727 for aarch64 issue tracking.

[Bug target/103727] New: [aarch64] Too strict built-in decl check

2021-12-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103727 Bug ID: 103727 Summary: [aarch64] Too strict built-in decl check Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

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

[Bug target/103622] [12 Regression] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #10 from Kewen Lin --- > test.c: In function ‘get_float128_exponent’: > test.c:4:5: note: overloaded builtin ‘__builtin_vec_scalar_extract_exp’ is > implemented by builtin ‘__builtin_vsx_scalar_extract_expq’ >4 | return

[Bug target/103702] [12 Regression] ICE in update_target_cost_per_stmt, at config/rs6000/rs6000.c:5457

2021-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103702 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #2

[Bug target/103702] [12 Regression] ICE in update_target_cost_per_stmt, at config/rs6000/rs6000.c:5457

2021-12-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103702 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #6 from Kewen Lin --- (In reply to Bill Schmidt from comment #4) > Kewen, how did you confirm this? My cross doesn't accept -mvsx as valid. > > $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c >

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #2 from Kewen Lin --- Confirmed. But even if I reverted my previous commit r12-5590 which introduced this test case (from PR102347) into testsuites, this ICE still exists. So it's not a regression related to the commit but a latent

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org,

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #2 from Kewen Lin --- > One fix seems to introduce one stanza for 128bit long double like previous > RS6000_BTM_LDBL128 which is enabled only if (TARGET_LONG_DOUBLE_128 && > TARGET_HARD_FLOAT && !TARGET_IEEEQUAD), and guard >

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/103623] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain_insn_cached, at

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

[Bug target/103622] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #3 from Kewen Lin --- > One thought seems to check instance->fntype first and take (skip) it as > mismatch if it's NULL. This looks like a bad idea, to use long double as the type instead of float128 when type float128 isn't

[Bug target/103622] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #2 from Kewen Lin --- Got exposed from r12-5752, r12-5751 we got the error msg like: test.c: In function ‘get_float128_exponent’: test.c:6:5: note: builtin ‘__builtin_vec_scalar_extract_exp’ requires builtin

[Bug target/103622] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/103568] New: sub-optimal vector construction with two loaded doubles on Power10

2021-12-05 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103568 Bug ID: 103568 Summary: sub-optimal vector construction with two loaded doubles on Power10 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

<    1   2   3   4   5   6   7   8   >