This is the mail archive of the
mailing list for the GCC project.
Re: Possible bug with -O2 -march=athlon[-tbird]
- From: Jan Hubicka <jh at suse dot cz>
- To: Lawrence Gold <gold at shell dot aros dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 18 May 2002 12:40:05 +0200
- Subject: Re: Possible bug with -O2 -march=athlon[-tbird]
- References: <20020518010248.A99467@shell.aros.net>
> 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
> 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.