[Bug c++/111097] mistifying bug triggered by trivial code change

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 22 07:51:33 GMT 2023


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Worth noting, this code works correctly with Visual Studio and with clang.

Gcc is known to be take more into account when it comes to aliasing rules of c
and c++. That is exactly what you are running into really.


More information about the Gcc-bugs mailing list