[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2023-01-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #8 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:733a1b777f16cd397b43a242d9c31761f66d3da8 commit r13-5154-g733a1b777f16cd397b43a242d9c31761f66d3da8 Author: Alexander Monakov

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #7 from Qing Zhao --- > On Dec 15, 2022, at 2:33 PM, pinskia at gcc dot gnu.org > wrote: > > > There is a patch in PR 57067 even which you could try to port to a newer > compiler version and fix up. Okay, will check that patch.

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|REOPENED

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 qinzhao at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-12-15 Ever

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #4 from Andrew Pinski --- >From the duplicated bug: "In this case the RTL scheduler pass generates broken code due to the missing control flow info."

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 qinzhao at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 --- Comment #2 from

[Bug rtl-optimization/108132] Wrong instruction scheduling around function call with longjmp on aarch64 at O2

2022-12-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108132 --- Comment #1 from qinzhao at gcc dot gnu.org --- As we checked the assembly and the IR, the wrong transformation is something like the following at source code level: (inside function "main") from : a=f(a); b=true; to: