When running the GCC testsuite on i686-pc-linux-gnu using -fpic or -fPIC, I get 
additional failures with 3.3, 3.4 and mainline:

FAIL: g++.old-deja/g++.pt/asm1.C (test for excess errors)
FAIL: g++.old-deja/g++.pt/asm2.C (test for excess errors)

as shown here:
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00029.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00085.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00084.html

Both of these tests fail like this:

g++.old-deja/g++.pt/asm1.C:6: error: can't find a register in class `BREG' 
while reloading `asm'

Is there something to fix in the compiler, the testcase, or should the test be 
bypassed when using -fpic/-fPIC ?

-- 
           Summary: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -
                    fpic/-fPIC
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to