[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 --- Comment #4 from Georg-Johann Lay --- (In reply to Andrew Pinski from comment #2) > I think the problem is in peep2_find_free_register: > /* Don't use registers set or clobbered by the insn. */ > FOR_EACH_INSN_DEF (def, peep2_ins

[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 --- Comment #5 from Andrew Pinski --- Hmm, reading https://gcc.gnu.org/onlinedocs/gccint/define_005fpeephole2.html#index-define_005fpeephole2 gives an impression if the scratch register is needed not to conflicting with the output then a match_d

[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I think the problem is in peep2_find_free_register: > /* Don't use registers set or clobbered by the insn. */ > FOR_EACH_INSN_DEF (def, peep2_insn_d

[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-20 Ever confirmed|0

[Bug rtl-optimization/117699] Scratch from peephole2 overlaps operands

2024-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117699 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma | |il/gcc/2024-Novembe