Bug 57473 - FAIL: gcc.dg/tls/emutls-2.c (internal compiler error)
Summary: FAIL: gcc.dg/tls/emutls-2.c (internal compiler error)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: regression (show other bugs)
Version: 4.9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-30 15:23 UTC by ktkachov
Modified: 2013-06-04 15:48 UTC (History)
4 users (show)

See Also:
Host:
Target: arm-none-eabi x86_64-apple-darwin10 cris-elf *-*-solaris2.9
Build:
Known to work:
Known to fail:
Last reconfirmed: 2013-05-30 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ktkachov 2013-05-30 15:23:02 UTC
With r199422 gcc.dg/tls/emutls-2.c started ICEing with:

$SOURCE/gcc/testsuite/gcc.dg/tls/emutls-2.c: In function '_GLOBAL__sub_I_65535_0_emutls_2.c':
$SOURCE/gcc/testsuite/gcc.dg/tls/emutls-2.c:8:1: internal compiler error: Segmentation fault
0x916255 crash_signal
       $SOURCE/gcc/toplev.c:333
0x6575b6 dom_info_available_p(cdi_direction)
        $SOURCE/gcc/dominance.c:1482
0x657fd3 free_dominance_info(cdi_direction)
        $SOURCE/gcc/dominance.c:685
0x86d429 do_per_function
        $SOURCE/gcc/passes.c:1719
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1

on arm-none-eabi.

Cross compiler configured with:
--with-fpu=neon-vfpv4 --with-float=hard --with-arch=armv7-a
Comment 1 Dominique d'Humieres 2013-05-30 15:43:22 UTC
It looks similar to pr57467.
Comment 2 Dominique d'Humieres 2013-05-30 17:35:25 UTC
Fails also on x86_64-apple-darwin10.
Comment 3 Hans-Peter Nilsson 2013-05-30 21:31:50 UTC
Confirming; cris-elf too (r199421:199433], being an emutls target.
Comment 4 Hans-Peter Nilsson 2013-06-02 08:08:27 UTC
Seems to have been fixed with the "Symtab cleanups 2/17 - merge alias code" fix (r199577) or possibly with the same fix as for PR57467 (r199582).
Comment 5 ktkachov 2013-06-03 08:31:20 UTC
(In reply to Hans-Peter Nilsson from comment #4)
> Seems to have been fixed with the "Symtab cleanups 2/17 - merge alias code"
> fix (r199577) or possibly with the same fix as for PR57467 (r199582).

Fixed on arm-none-eabi it seems.
Dominique, can you confirm that x86_64-apple-darwin10 is fixed as well?
Comment 6 Rainer Orth 2013-06-03 12:30:27 UTC
Also fails on Solaris 9 with Sun as, will check if current mainline works again.

  Rainer
Comment 7 ro@CeBiTec.Uni-Bielefeld.DE 2013-06-04 09:18:17 UTC
> --- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
> Also fails on Solaris 9 with Sun as, will check if current mainline works
> again.

Both i386-pc-solaris2.9 and sparc-sun-solaris2.9 bootstraps have now
completed and as of r199603, all emutls related failures are gone.

Thanks.
	Rainer
Comment 8 ktkachov 2013-06-04 15:48:45 UTC
Fixed on trunk.