[Bug middle-end/115767] [11/12/13/14/15 regression] GCC loses track of value on aarch64 with -O2

xry111 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 4 05:02:26 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Note that -fno-strict-aliasing helps and in the boost code path for
replace_right there's:

return *reinterpret_cast< const View* >(boost::addressof(m));

But maybe this line is innocent and -fno-strict-aliasing just happens to hide
the issue somehow OTOH.


More information about the Gcc-bugs mailing list