gcc 3.3 invalid assembly on ppc
Sean O'Rourke
sorourke@cs.ucsd.edu
Mon May 26 03:00:00 GMT 2003
Thanks for the quick turnaround. Sorry to disturb.
/s
On Sun, 25 May 2003, Andrew Pinski wrote:
> slp_switch is wrong, "=g" should be "=r" and "g" should be "r".
> I do not know what g is, but r means register.
>
> Thanks,
> Andrew Pinski
>
> On Sunday, May 25, 2003, at 21:52 US/Eastern, Sean O'Rourke wrote:
>
> > The compiler seems to generate invalid assembly with optimization
> > turned
> > off. With -O, this no longer happens.
> >
> > /s
> >
> > Details:
> >
> > Reading specs from
> > /usr/local/gcc-3.3/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3/specs
> > Configured with: /home/sean/src/gcc-3.3/configure
> > --prefix=/usr/local/gcc-3.3 --disable-libgcj
> > Thread model: posix
> > gcc version 3.3
> >
> > $ gcc -save-temps -c -g -Wall -I./Include -I./Stackless
> > -DHAVE_CONFIG_H -I. -I./Include -I./Stackless -DHAVE_CONFIG_H -I.
> > ./Stackless/foo.c
> > foo.s: Assembler messages:
> > foo.s:60: Error: syntax error; found `(' but expected `,'
> > foo.s:60: Error: junk at end of line: `(31),1'
> >
> > <foo.i>
>
More information about the Gcc-bugs
mailing list