diff options
author | Alex Samuel <samuel@codesourcery.com> | 1999-09-18 18:16:44 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-18 11:16:44 -0700 |
commit | 5da077de9b51b3d3ec09e3c1a8cc8359d39ba4dc (patch) | |
tree | e1d713ac042501080771e2019559c03759274d81 /gcc/genattrtab.c | |
parent | 711b552c22af933cd3122dc0c9b5012e1cc1e705 (diff) | |
download | gcc-5da077de9b51b3d3ec09e3c1a8cc8359d39ba4dc.tar.gz |
rtl.h (global_rtx_index): New enum.
* rtl.h (global_rtx_index): New enum.
(global_rtl): Change to array of rtx.
(pc_rtx, cc0_rtx): Redefine accordingly.
(cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
(hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
(virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
(virtual_outgoing_args_rtx, virtual_cfa): Likewise.
(const_int_rtx): Change to array of rtx.
(const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
accordingly.
* emit-rtl.c (global_rtl): Change to array of rtx.
(const_int_rtx): Change to aray of rtx.
(gen_rtx_CONST_INT): Redefine accordingly.
(init_emit_once): Allocate and initialize global_rtl. Likewise
for const_int_rtx. Add both as GC roots.
* genattrtab.c (global_rtl): Update declaration.
From-SVN: r29500
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index f35e0e4a5f1..b02f2e0a22c 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -354,7 +354,7 @@ int optimize = 0; /* These are referenced by rtlanal.c and hence need to be defined somewhere. They won't actually be used. */ -struct _global_rtl global_rtl; +rtx global_rtl[GR_MAX]; rtx pic_offset_table_rtx; static void attr_hash_add_rtx PROTO((int, rtx)); |