On powerpc-apple-darwin9 the test gcc.c-torture/compile/pr44707.c fails at any
optimization level above -O0 for both -m32 and m64, probably since it has been
committed:

FAIL: gcc.c-torture/compile/pr44707.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -O2 -flto  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44707.c  -O2 -fwhopr  (test for excess errors)

(see http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg00777.html ).

The failure is the pervasive linker error on darwin:


[karma] gcc/_gcc_clean% /opt/gcc/gcc4.6w/bin/gcc -c -O1
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/compile/pr44707.c
/var/tmp//ccM4PMM6.s:15:non-relocatable subtraction expression, "_w" minus
"L00000000001$pb"
/var/tmp//ccM4PMM6.s:15:symbol: "_w" can't be undefined in a subtraction
expression
/var/tmp//ccM4PMM6.s:14:non-relocatable subtraction expression, "_w" minus
"L00000000001$pb"
/var/tmp//ccM4PMM6.s:14:symbol: "_w" can't be undefined in a subtraction
expression
/var/tmp//ccM4PMM6.s:13:non-relocatable subtraction expression, "_v" minus
"L00000000001$pb"
/var/tmp//ccM4PMM6.s:13:symbol: "_v" can't be undefined in a subtraction
expression
/var/tmp//ccM4PMM6.s:12:non-relocatable subtraction expression, "_v" minus
"L00000000001$pb"
/var/tmp//ccM4PMM6.s:12:symbol: "_v" can't be undefined in a subtraction
expression

in general due to missing or inconsistent symbols in the assembly.


-- 
           Summary: FAIL: gcc.c-torture/compile/pr44707.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: powerpc-apple-darwin9
  GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9


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

Reply via email to