]> gcc.gnu.org Git - gcc.git/commit
re PR target/24428 (TLS miscompilation on x86_64)
authorRichard Henderson <rth@redhat.com>
Wed, 19 Oct 2005 02:13:37 +0000 (19:13 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 19 Oct 2005 02:13:37 +0000 (19:13 -0700)
commitfd4aca960b65ab4749712571057ab955385fe8b5
tree4eb72723f1e1fa0265c96e81441ba4127ff0b02d
parent14a814a401be5351d9114bcbf1d0bf59c9c41f30
re PR target/24428 (TLS miscompilation on x86_64)

        PR target/24428
        * config/i386/i386.c (legitimate_constant_p): Check
        SYMBOL_REF_TLS_MODEL directly.  Don't fallthru to SYMBOL_REF
        if LABEL_REF.
        (legitimate_pic_operand_p): Test SYMBOL_REF_TLS_MODEL directly.
        (legitimate_pic_address_disp_p): Reorg CONST checking to make
        sure SYMBOL_REF_TLS_MODEL is tested.  Test SYMBOL_REF_TLS_MODEL
        directly.
        (print_operand_address): Likewise.
        * config/i386/predicates.md (x86_64_immediate_operand): Test
        SYMBOL_REF_TLS_MODEL properly inside CONST.
        (x86_64_zext_immediate_operand): Likewise.
        (global_dynamic_symbolic_operand, local_dynamic_symbolic_operand,
        initial_exec_symbolic_operand, local_exec_symbolic_operand): Remove.
        * config/i386/i386-protos.h: Remove predicates.md entries.

From-SVN: r105592
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/predicates.md
gcc/testsuite/gcc.dg/tls/pr24428.c [new file with mode: 0644]
This page took 0.060697 seconds and 5 git commands to generate.