[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/42564] unrecognizable insn with -O -fPIC




------- Comment #10 from ebotcazou at gcc dot gnu dot org  2010-01-05 22:32 -------
Subject: Bug 42564

Author: ebotcazou
Date: Tue Jan  5 22:32:25 2010
New Revision: 155663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155663
Log:
        PR target/42564
        * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
        * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
        (legitimize_tls_address): Likewise.
        (sparc_tls_referenced_p): Likewise.
        * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
        and adjust calls to legitimize_pic_address.
        (legitimate_constant_p) Use sparc_tls_referenced_p.
        (legitimate_pic_operand_p): Likewise.
        (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
        (sparc_tls_symbol_ref_1): Delete.
        (sparc_tls_referenced_p): Make static, recognize specific patterns.
        (legitimize_tls_address): Make static, handle CONST patterns.
        (legitimize_pic_address): Make static, remove unused parameter and
        adjust recursive calls.
        (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
        and adjust call to legitimize_pic_address.
        (sparc_output_mi_thunk): Likewise.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tls/opt-15.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config/sparc/sparc-protos.h
    branches/gcc-4_4-branch/gcc/config/sparc/sparc.c
    branches/gcc-4_4-branch/gcc/config/sparc/sparc.h
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42564

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply to: