[Bug target/58595] internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 6 12:07:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 6 12:07:07 2014
New Revision: 208380
URL: http://gcc.gnu.org/viewcvs?rev=208380&root=gcc&view=rev
Log:
PR target/58595
* config/arm/arm.c (arm_tls_symbol_p): Remove.
(arm_legitimize_address): Call legitimize_tls_address for any
arm_tls_referenced_p expression, handle constant addend. Call it
before testing for !TARGET_ARM.
(thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
* gcc.dg/tls/pr58595.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tls/pr58595.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list