optimization/8156 (bad assembler code)
Jakub Jelinek
jakub@redhat.com
Mon Oct 7 14:42:00 GMT 2002
On Mon, Oct 07, 2002 at 09:02:37PM +0200, Andreas Jaeger wrote:
> The problem here is sysdeps/unix/sysv/linux/i386/sysdep.h which defines:
#if defined __i686 && defined __ASSEMBLY__
#undef __i686
#define __i686 __i686
#endif
?
That way .S code could still test for
#ifdef __i686, but SETUP_PIC_REG would be
more robust. -march=i686 works for me just fine, since for
assembly using SETUP_PIC_REG ASFLAGS and not CFLAGS are used.
> -march=i686 defines "__i686" which is replaced by a "1" in the above.
> I propose to change sysdep.h as a workaround. Is there also a bug in
> GCC?
Why?
Jakub
More information about the Libc-alpha
mailing list