http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49500
Summary: [4.7 Regression]: gcc.dg/tls/alias-1.c Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: hubi...@gcc.gnu.org With revision 175164 this test passed. >From revision 175170 and on, this test has failed as follows: Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/tls/tls.exp ... FAIL: gcc.dg/tls/alias-1.c (test for excess errors) The message in gcc.log being: 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/gcc.dg/tls/alias-1.c -ansi -pedantic-errors -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 -lm -o alias-1.exe (timeout = 300) /tmp/ccjevxvZ.o: In function `_main': alias-1.c:(.text+0xc): undefined reference to `___emutls_v.bar' collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /tmp/ccjevxvZ.o: In function `_main': alias-1.c:(.text+0xc): undefined reference to `___emutls_v.bar' collect2: error: ld returned 1 exit status FAIL: gcc.dg/tls/alias-1.c (test for excess errors) Excess errors: alias-1.c:(.text+0xc): undefined reference to `___emutls_v.bar' FWIW, cris-elf is an emutls target and I see on gcc-testresults@ that this test fails for other emutls target since about that revision range. Author of patches in suspect revision range CC:ed.