diff options
author | Richard Henderson <rth@redhat.com> | 2003-02-15 16:58:29 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-02-15 16:58:29 -0800 |
commit | 0b077eace85e5b6b6bc311b0f6800e0324de6d59 (patch) | |
tree | 35ca2b5dd89aac0a688da30150746834c7713a87 /gcc/target.h | |
parent | a7075aea5850feee4de2a5fec2c118aac7365790 (diff) | |
download | gcc-0b077eace85e5b6b6bc311b0f6800e0324de6d59.tar.gz |
Makefile.in (cfglayout.o): Depend on TARGET_H.
* Makefile.in (cfglayout.o): Depend on TARGET_H.
* cfglayout.c: Include target.h.
(cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
* target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
* target.h (struct gcc_target): Add cannot_copy_insn_p.
* config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
(TARGET_CANNOT_COPY_INSN_P): New.
(override_options): Revert 2003-02-08 hack.
From-SVN: r62955
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 8c286f70ad1..f671321c3ad 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -292,6 +292,9 @@ struct gcc_target /* True if the constant X cannot be placed in the constant pool. */ bool (* cannot_force_const_mem) PARAMS ((rtx)); + /* True if the insn X cannot be duplicated. */ + bool (* cannot_copy_insn_p) PARAMS ((rtx)); + /* Given an address RTX, undo the effects of LEGITIMIZE_ADDRESS. */ rtx (* delegitimize_address) PARAMS ((rtx)); |