[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:e363940e1cef7f6face970414ffaa565daf413bd commit r14-11701-ge363940e1cef7f6face970414ffaa565daf413bd Author: Vineet Gupta Da

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #13 from GCC Commits --- The master branch has been updated by Vineet Gupta : https://gcc.gnu.org/g:edb4867412895100b3addc525bc0dba0ea90c7f9 commit r15-9492-gedb4867412895100b3addc525bc0dba0ea90c7f9 Author: Vineet Gupta Date: Tu

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 Vineet Gupta changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-08 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #11 from Vineet Gupta --- Debug log for the smaller test [1] https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680355.html It hits the same ABNORMAL_EDGE assert. - bb 17 has V insns, needing vsetvl - which LCM tries to "bubble

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-08 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #10 from Vineet Gupta --- Created attachment 61035 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61035&action=edit simpler test A slightly simpler test (thx Mark Ryan @ rivos) which also exhibits the issue

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-03 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #9 from Vineet Gupta --- (In reply to Andrew Pinski from comment #3) > I suspect if you run the testsuite with -fnon-call-exceptions you might find > a reduced C (or C++) testcae for the same issue. No joy. With the toggle forced,

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #8 from Andrew Pinski --- (In reply to Eric Botcazou from comment #7) > > Does go use sjlj EH "manually"? EH shouldn't result in EDGE_ABNORMAL ... > > /* Strange flow, like a computed jump or exception handling. Usually >this

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-31 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2025-03-31 Status|UNCONFIRM

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #6 from Richard Biener --- Does go use sjlj EH "manually"? EH shouldn't result in EDGE_ABNORMAL ...

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-29 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #5 from Vineet Gupta --- Proposed fix https://gcc.gnu.org/pipermail/gcc-patches/2025-March/679657.html

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-29 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #4 from Vineet Gupta --- Debug log: ` Phase 4: Insert, modify and remove vsetvl insns. ### loop for missed vsetvl Insert missed vsetvl info at edge(bb 31 -> bb 32): VALID (insn 663, bb 31) Insert vsetvl insn 753: Insert

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #1 from Andrew Pinski --- Note this is most likely exposed by -fnon-call-exceptions which the go front-end enables by default.

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #3 from Andrew Pinski --- I suspect if you run the testsuite with -fnon-call-exceptions you might find a reduced C (or C++) testcae for the same issue.

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #2 from Andrew Pinski --- gcc_assert (!(eg->flags & EDGE_ABNORMAL)); Yep.