With revision 159369 these tests passed.
>From revision 159376 and on, including at least 159388, these tests have failed
as follows:

Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/objc.dg/torture/tls/tls.exp ...
FAIL: objc.dg/torture/tls/thr-init-2.m  -O1  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O1  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -O2  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O2  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -O3 -fomit-frame-pointer  (test for
excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O3 -fomit-frame-pointer 
compilation failed to produce executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -O3 -g  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O3 -g  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -Os  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -Os  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -O2 -flto  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O2 -flto  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init-2.m  -O2 -fwhopr  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-2.m  -O2 -fwhopr  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O1  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O1  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O2  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O2  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O3 -fomit-frame-pointer  (test for
excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O3 -fomit-frame-pointer 
compilation failed to produce executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O3 -g  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O3 -g  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -Os  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -Os  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O2 -flto  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O2 -flto  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init-3.m  -O2 -fwhopr  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init-3.m  -O2 -fwhopr  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init.m  -O1  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O1  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init.m  -O2  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O2  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init.m  -O3 -fomit-frame-pointer  (test for
excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O3 -fomit-frame-pointer  compilation
failed to produce executable
FAIL: objc.dg/torture/tls/thr-init.m  -O3 -g  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O3 -g  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init.m  -Os  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -Os  compilation failed to produce
executable
FAIL: objc.dg/torture/tls/thr-init.m  -O2 -flto  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O2 -flto  compilation failed to
produce executable
FAIL: objc.dg/torture/tls/thr-init.m  -O2 -fwhopr  (test for excess errors)
WARNING: objc.dg/torture/tls/thr-init.m  -O2 -fwhopr  compilation failed to
produce executable

The message in objc.log for r159388 is:

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m   -O1 
-fgnu-runtime -I/tmp/hpautotest-gcc1/gcc/gcc/testsuite/../../libobjc 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libobjc/.libs  
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libobjc/.libs    -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris/
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib -sim3  -lobjc -lm   -o
./thr-init-2.exe    (timeout = 300)
/tmp/ccyWCWTq.o: In function `_fa':

thr-init-2.m:(.text+0x12): undefined reference to `___emutls_v.as.1281'

/tmp/ccyWCWTq.o: In function `_fb':

thr-init-2.m:(.text+0x44): undefined reference to `___emutls_v.bs.1285'

collect2: ld returned 1 exit status

compiler exited with status 1
output is:
/tmp/ccyWCWTq.o: In function `_fa':

thr-init-2.m:(.text+0x12): undefined reference to `___emutls_v.as.1281'

/tmp/ccyWCWTq.o: In function `_fb':

thr-init-2.m:(.text+0x44): undefined reference to `___emutls_v.bs.1285'

collect2: ld returned 1 exit status


FAIL: objc.dg/torture/tls/thr-init-2.m  -O1  (test for excess errors)

The tests pass at -O0. For objc.dg/torture/tls/thr-init.m, the message is
similar, but the undefined identifiers are just one, "___emutls_v.fstat".
Note that objc.dg/torture/tls/thr-init-3.m similarly fails with a message
referring to "___emutls_v.as.2610", but that's not a regression; that test has
never passed.

Right, cris-elf is an emutls target.

Author of patches in above revision range CC:ed.


-- 
           Summary: [4.6 Regression]: objc.dg/torture/tls/thr-init-2.m and
                    thr-init.m
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf


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

Reply via email to