[Bug target/37609] Pointer arithmetic yields strange result

2008-09-21 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2008-09-21 16:36 --- Subject: Re: New: Pointer arithmetic yields strange result Sent from my iPhone On Sep 21, 2008, at 9:00 AM, "john dot spelis at 3dlabs dot com" <[EMAIL PROTECTED] > wrote: > An expression using ptr arithmetic yiel

[Bug target/37609] Pointer arithmetic yields strange result

2008-09-21 Thread rguenth at gcc dot gnu dot org
--- 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 movl8(%ebp), %eax addl$127, %eax subl12(%ebp), %ea