--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-16 02:11 ---
ush = ((__be16 *) (&label + 1)) - 1;
That is undefined code (at least with strict aliasing turned on). But that
should not have an effect at -O1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27176
--- Comment #3 from jciccone at gmail dot com 2006-04-15 21:25 ---
Created an attachment (id=11278)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11278&action=view)
The .i file from gcc -Os test.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27176
--- Comment #2 from jciccone at gmail dot com 2006-04-15 21:25 ---
Created an attachment (id=11277)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11277&action=view)
The .i file from gcc -O2 test.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27176
--- Comment #1 from jciccone at gmail dot com 2006-04-15 21:24 ---
Created an attachment (id=11276)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11276&action=view)
The test case source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27176