emit-rtl.c (gen_const_mem): New.
authorRichard Henderson <rth@redhat.com>
Wed, 18 Aug 2004 21:08:35 +0000 (14:08 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 18 Aug 2004 21:08:35 +0000 (14:08 -0700)
commit542a8afa8a40e0714720ce168046a3880a44d311
tree8e12ef5e22b0f9baabc992a10805a642c7d0bec6
parent0516f6fe82641daf7c1ac8812998049ac591201e
emit-rtl.c (gen_const_mem): New.

        * emit-rtl.c (gen_const_mem): New.
        * rtl.h (gen_const_mem): Declare.
        * expr.c (do_tablejump): Use it.
        * varasm.c (force_const_mem): Likewise.
        * config/darwin.c (machopic_indirect_data_reference): Likewise.
        (machopic_legitimize_pic_address): Likewise.
        * config/arm/arm.c (legitimize_pic_address): Likewise.
        * config/i386/i386.c (legitimize_pic_address): Likewise.
        (legitimize_tls_address): Likewise.
        * config/ia64/ia64.c (ia64_expand_tls_address): Likewise.
        * config/ia64/ia64.md (load_fptr): Likewise.
        * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise.
        * config/pa/pa.c (legitimize_pic_address): Likewise.
        * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise.
        (rs6000_emit_move): Likewise.
        * config/s390/s390.c (legitimize_pic_address): Likewise.
        (legitimize_tls_address): Likewise.
        * config/s390/s390.md (casesi): Likewise.
        * config/sh/sh.c (sh_reorg): Likewise.
        * config/sparc/sparc.c (legitimize_pic_address): Likewise.
        * config/v850/v850.md (casesi): Likewise.

        * config/darwin.c (machopic_indirect_call_target): Set MEM_NOTRAP_P.
        * config/sh/sh.c (prepare_move_operands): Remove incorrect
        use of MEM_READONLY_P.

From-SVN: r86207
18 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/darwin.c
gcc/config/i386/i386.c
gcc/config/ia64/ia64.c
gcc/config/ia64/ia64.md
gcc/config/m32r/m32r.c
gcc/config/pa/pa.c
gcc/config/rs6000/rs6000.c
gcc/config/s390/s390.c
gcc/config/s390/s390.md
gcc/config/sh/sh.c
gcc/config/sparc/sparc.c
gcc/config/v850/v850.md
gcc/emit-rtl.c
gcc/expr.c
gcc/rtl.h
gcc/varasm.c