[Bug rtl-optimization/106568] -freorder-blocks-algorithm appears to causes a crash in stable code, no way to disable it
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 9 01:45:53 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106568
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeffrey Walton from comment #15)
> It looks like -fno-strict-aliasing cleared the crash. This is bad because I
> thought we did not violate aliasing rules.
>
> Let me try to find it.
Well since the way -fno-strict-aliasing disables a lot of memory based
optimizations, it does not mean there is an aliasing violation. Just the
different internal representation is different later on causing other issues.
More information about the Gcc-bugs
mailing list