[PATCH 2/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

Zamyatin, Igor igor.zamyatin@intel.com
Fri Oct 31 10:06:00 GMT 2014


> 
> Those macros use "=&b" etc. in asm constraints, so IMHO you'll get the same
> error as for say:
> 
> int
> foo (void)
> {
>   bar ();
>   int i = 0;
>   asm volatile ("" : "+b" (i));
>   bar ();
>   return i;
> }
> 
> when compiled by gcc 4.9 and earlier with -O2 -m32 -fpic:
> error: inconsistent operand constraints in an ‘asm’

I see, thanks!

Fixed patch is here - https://sourceware.org/ml/libc-alpha/2014-10/msg00746.html

Igor

> 
> 	Jakub


More information about the Gcc-patches mailing list