[Bug middle-end/119021] [15 Regression] RTL checking ICEs after r15-7700

2025-02-26 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119021 --- Comment #3 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #2) > So, either remove that call too, or move it into lra_asm_insn_error before > the insn has been deleted. Vlad, I'll defer this to you. Sorry for the issues w

[Bug middle-end/119021] [15 Regression] RTL checking ICEs after r15-7700

2025-02-26 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119021 --- Comment #6 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #4) > Can't it just look at the present insn and if it is no longer asm but > NOTE_INSN_DELETED, ignore it? RA keep erroneous asm goto (for keeping CFG correctnes

[Bug middle-end/103616] Improve LRA's to use literal pool more often when profitable

2025-04-03 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103616 --- Comment #8 from Vladimir Makarov --- I looked at the generated code and I see only one issue with func foo: void foo (void) { double d = 0.0, e = 7.8; __asm ("# %0 %1" : : "m" (d), "m" (e)); } for which GCC generates: movq

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-28 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #12 from Vladimir Makarov --- Created attachment 61535 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61535&action=edit A candidate patch for gcc-13

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-28 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #13 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #11) > r14-7141-ga729b6e002fe76208f33fdcdee49d6a310a1940e fixed it. The patch needed some reworking for gcc-13 as there were changes in the same code parts. I am

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-28 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #14 from Vladimir Makarov --- (In reply to Vladimir Makarov from comment #13) > I am putting a candidate patch in the attachment. I'll approve it after > finishing tests and bootstraps on amd64, arm64, ppc64. The patch testing seem

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #8 from Vladimir Makarov --- I think we should revert the patch for PR99015 I committed yesterday. There were to many changes in this part of LRA since gcc-13 and many of them were interdependent. It will be difficult to find all n

[Bug rtl-optimization/99015] [12/13 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2025-05-29 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #16 from Vladimir Makarov --- I've remembered that the patch for PR112918 triggered a hidden bug on mips. So I added code fixing this bug too to this PR patch. The new patch was successfully bootstrapped and tested on amd64, arm64,

<    1   2   3