Very nasty C bug in gcc 2.95.2

Geoff Keating geoffk@geoffk.org
Wed Mar 14 19:18:00 GMT 2001


Ken Settle <ken@gordian.com> writes:

>   1c:   3b e1 00 08     addi    r31,r1,8
...
>   40:   63 e3 00 02     ori     r3,r31,2
...
> The instruction at 40: is an ori!  it should be an addi.

No, this is OK.  The stack is aligned (on ppc-eabi) to an 8-byte boundary.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-bugs mailing list