[Bug c/28196] miscompiled initialization of a constant pointer reference with offset (ppc64 target)
inbox at b-q-c dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 28 20:47:00 GMT 2006
------- Comment #1 from inbox at b-q-c dot com 2006-06-28 20:44 -------
Created an attachment (id=11774)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11774&action=view)
test case - returns 0 on success or 1 when miscompiled
gcc -m64 -o gcc64bug gcc64bug.c
Inspection of the a and b will show:
a = 1fe8
b = 100001fe0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28196
More information about the Gcc-bugs
mailing list