[Bug rtl-optimization/63375] [4.8/4.9/5 Regression] reordering of reads across fences

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 25 10:15:00 GMT 2014


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

--- Comment #17 from Mikael Pettersson <mikpelinux at gmail dot com> ---
(In reply to Pranith Kumar from comment #16)
>     printf("%d\n", *(int *)(&val1+4));

This is broken, you're invoking undefined behaviour.



More information about the Gcc-bugs mailing list