[Bug target/124569] m68k: Miscompilation at -O2
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 16:50:26 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124569
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2026-03-18
Status|UNCONFIRMED |WAITING
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you provide the full preprocessed source? As requested on
https://gcc.gnu.org/bugs/ .
Also does -fno-strict-aliasing fixes the issue? I noticed casting to `(object
*)` and then deferencing it which might be an aliasing issue.
Also does `-fno-auto-inc-dec` fix the issue? What about -fno-caller-saves ?
I don't think m68k has been moved over to use LRA, so does -mlra fix the issue?
More information about the Gcc-bugs
mailing list