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.