[Bug c++/64049] Wrong code at -O3

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 24 13:41:00 GMT 2014


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
 v.value.LocalizedText = (LocalizedTextStruct*) "Localized Text";


if you access v.value.LocalizedText as a LocalizedTextStruct the above causes
undefined code.



More information about the Gcc-bugs mailing list