This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.3 invalid assembly on ppc


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>
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]