From 0b077eace85e5b6b6bc311b0f6800e0324de6d59 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 15 Feb 2003 16:58:29 -0800 Subject: 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 --- gcc/target.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/target.h') diff --git a/gcc/target.h b/gcc/target.h index 8c286f7..f671321 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)); -- cgit v1.1