This is the mail archive of the gcc@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: Possible bug with -O2 -march=athlon[-tbird]


> Since I've already lost face by making a false bug report on GNATS, I 
> might as well risk doing it on the mailing list this time...
> 
> When I try to compile one of the files from xmess-0.561.1 using
> 
> 	gcc -c -O2 -march=athlon[-tbird]
> 
> I get this error:
> 
> 	/tmp/ccRddfe9.s: Assembler messages:
> 	/tmp/ccRddfe9.s:5300: Error: bad register name `%sil'
> 
> The file in question is available from 
> 
> 	http://www.aros.net/~gold/z80gb_flattened.c.bz2
> 
> I don't see any inline assembly in the file, so it doesn't appear that 
> incorrect register constraints are to blame.  If I reduce the optimization 
> to -O1 or use -march=i686, the error does not occur.

This apepars to be GCC bug, but probably unrelated to Athlon optimization.
Can you please use the -fsave-temps to produce .i file and send it to me
personally?  I will try to fix the bug.

Honza


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