]> gcc.gnu.org Git - gcc.git/commit - gcc/config/i386/i386.c
i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant.
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Aug 2002 00:01:12 +0000 (02:01 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Aug 2002 00:01:12 +0000 (02:01 +0200)
commit9e20be0cb2d7a3fcd2c82049493e0c458c2f2eaa
tree4e4f70ef0592cbe7fc3d67babccc468bbaf7659a
parent7b9be5c7cbb31b0aad7ca2ce3b0d31b322aa2d42
i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant.

* config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
legitimate constant.
(legitimate_pic_operand_p): Neither pic operand.
(legitimate_address_p): But legitimate address.
(get_thread_pointer): Generate MEM/u instead of CONST around
UNSPEC_TP.
(print_operand): Remove printing of UNSPEC_TP.
(print_operand_address): And print it here.

* gcc.dg/tls/opt-2.c: New test.

From-SVN: r56143
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/opt-2.c [new file with mode: 0644]
This page took 0.057576 seconds and 5 git commands to generate.