[Bug target/19549] Register allocation problem in inline asm on x86.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 21 15:15:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-21 15:15 -------
It still a dup of bug 11203 and here is why, the a gets placed in different register for the inline-asm at 
-O0 but -O1 and above, we use the same register/offset but PR 11203 has a testcase where it does not 
compile at -O0 to -O3 but that is because the memory operands share in common areas.

Anyways this inline-asm is useless as the operands are all the same which is why it works at -O1 but 
not at -O0 and you just ran out of registers on x86 because we don't do any optimization at all at -O0.

*** This bug has been marked as a duplicate of 11203 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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



More information about the Gcc-bugs mailing list