[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-07-18 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 Andi Kleen changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:983daf0e5fdaada5b930374c21455d42d34350be commit r15-2123-g983daf0e5fdaada5b930374c21455d42d34350be Author: Andi Kleen Date: Sat Jun

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 Richard Biener changed: What|Removed |Added CC|richard.guenther at gmail dot com |rguenth at gcc dot gnu.org ---

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-01 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #7 from Andi Kleen --- The patch can be even more minimized. The thumb2_reorg change is not needed because nothing does df_verify() after it (I just noticed it because I added some extra for debugging). So even though thumb2_reorg br

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-01 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #6 from Andi Kleen --- Created attachment 58324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58324&action=edit patch to fix arm sibcalls with -O0 Better patch that uses the existing cfun flag for tail calls.

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #5 from Andrew Pinski --- The question comes is musttail going to always work at -O0 or should it just fail at -O0 with an error message. Or rather is musttail is just a hack in itself and should never be implemented.

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-01 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #4 from Andi Kleen --- Created attachment 58323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58323&action=edit hack patch to fix arm sibcalls at -O0 The attached patch makes the test case pass on arm. - Some of the sibcall

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #2 from Andrew Pinski --- > 0xaa996b df_bb_verify > ../../gcc/gcc/df-scan.cc:4138 THis line is blank in the current trunk (seems like you are testing before r15-752-g7f35863ebbf7ba which is an over week old now).

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #1 from Andrew Pinski --- Are you sure this is not an issue with your musttail patches?