[Bug c/34161] -Os produces 32-bit load from 16-bit variable
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 15:41:00 GMT 2007
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-20 15:41 -------
What's wrong? The x member is properly aligned, so a load beyond it is valid.
If you make struct a packed, then the load uses movw.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34161
More information about the Gcc-bugs
mailing list