[Bug c/43009] segmentation fault with -O3 when accessing byte-aligned array as dwords

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 9 17:07:00 GMT 2010



------- Comment #5 from pinskia at gcc dot gnu dot org  2010-02-09 17:07 -------
The alignment requirements of uint32_t are not being satisfied. That causes
undefined behavior which means it could work in one case but not the other.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43009



More information about the Gcc-bugs mailing list