From 5da077de9b51b3d3ec09e3c1a8cc8359d39ba4dc Mon Sep 17 00:00:00 2001 From: Alex Samuel Date: Sat, 18 Sep 1999 18:16:44 +0000 Subject: 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 --- gcc/genattrtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/genattrtab.c') 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)); -- cgit v1.2.1