[Bug target/37609] Pointer arithmetic yields strange result
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 21 16:31:00 GMT 2008
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-21 16:29 -------
Confirmed. This looks like a target issue to me, for bad we produce
testPtrBad:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
addl $127, %eax
subl 12(%ebp), %eax
popl %ebp
sarl %eax
imull $954437177, %eax, %eax
ret
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Component|c |target
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |3.3.6 4.3.2
Last reconfirmed|0000-00-00 00:00:00 |2008-09-21 16:29:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37609
More information about the Gcc-bugs
mailing list