[Bug target/19227] Error in gcc.c-torture/compile/20000804-1.c when using -fpic/-fPIC on i686-pc-linux-gnu

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 15:30:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-03 15:30 -------
Lets look at the inline-asm for a second:
  __complex__ long long v;
  asm("": "+r" (v) : "r" (0), "r" (1));

so 4 registers for 0, and two more for the next two (1 and 2), that is 6 registers just enough if we don't 
turn on PIC, if we turn on PIC, we have one less registers to use, so this testcase should be skiped for 
-fPIC/fpic on x86.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|inline-asm                  |target
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-03 15:30:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19227



More information about the Gcc-bugs mailing list