This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28196] miscompiled initialization of a constant pointer reference with offset (ppc64 target)
- From: "inbox at b-q-c dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2006 20:44:28 -0000
- Subject: [Bug c/28196] miscompiled initialization of a constant pointer reference with offset (ppc64 target)
- References: <bug-28196-12890@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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