diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-28 02:17:26 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-28 02:17:26 +0000 |
commit | 47fc0706efc3899bb63c2fa9a1e36fc77d988a8d (patch) | |
tree | ef8a8d9eb4fda8faa814cb484ce4a1e01ef25372 /gcc/genattr.c | |
parent | bc7af38963b4b5186f45a61993821982bcd83134 (diff) | |
download | gcc-47fc0706efc3899bb63c2fa9a1e36fc77d988a8d.tar.gz |
* Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
on insn-attr.h with it.
* genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
* insn-addr.h: New header.
(insn_addresses_): Renamed from insn_addresses.
(INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
INSN_ADDRESSES_NEW): New macros.
* genattrtab.c (write_test_expr): Use new macros.
* final.c (insn_addresses, init_insn_lengths): Likewise.
(align_fuzz, shorten_branches): Likewise.
(final): Likewise. Do not reject new insns if their addresses
have been added to INSN_ADDRESSES.
* config/arm/arm.c, config/avr/avr.c: Use new macros.
* config/h8300/h8300.c, config/i370/i370.c: Likewise.
* config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
* config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
* config/sh/sh.c: Likewise.
(output_branchy_insn): Use INSN_ADDRESSES_NEW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r-- | gcc/genattr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c index 6a593edeb21..770379a53d5 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -126,8 +126,7 @@ gen_attr (attr) printf ("extern int insn_default_length PARAMS ((rtx));\n"); printf ("extern int insn_variable_length_p PARAMS ((rtx));\n"); printf ("extern int insn_current_length PARAMS ((rtx));\n\n"); - printf ("extern int *insn_addresses;\n"); - printf ("extern int insn_current_address;\n\n"); + printf ("#include \"insn-addr.h\"\n\n"); } } |