summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-02-15 16:58:29 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-02-15 16:58:29 -0800
commit0b077eace85e5b6b6bc311b0f6800e0324de6d59 (patch)
tree35ca2b5dd89aac0a688da30150746834c7713a87 /gcc/target.h
parenta7075aea5850feee4de2a5fec2c118aac7365790 (diff)
downloadgcc-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.h3
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));