[Bug c/27176] Sun disklabel checksum code isn't being generated properly.

2006-04-15 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c/27176] Sun disklabel checksum code isn't being generated properly.

2006-04-15 Thread jciccone at gmail dot com
--- 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

[Bug c/27176] Sun disklabel checksum code isn't being generated properly.

2006-04-15 Thread jciccone at gmail dot com
--- 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

[Bug c/27176] Sun disklabel checksum code isn't being generated properly.

2006-04-15 Thread jciccone at gmail dot com
--- 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