--- Comment #1 from jde at google dot com 2006-02-16 02:26 ---
I was able to reproduce this bug. Indeed the offset is bytewise but the load is
done with a movl ("movl foo+2, %eax") Below is the program used to reproduce,
the compiler and flags used, and the resultant output & assembly.
--
What|Removed |Added
GCC build triplet|i386-unknown-netbsdelf1.6.2 |
GCC host triplet|i386-unknown-netbsdelf1.6.2 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21392
--
What|Removed |Added
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21392