summaryrefslogtreecommitdiff
path: root/gcc/hard-reg-set.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-23 04:59:13 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-23 04:59:13 +0000
commitf540a7d37187bcd200436031946655ec39af11bb (patch)
tree2b5263520b85e1c5378734fe1bab030fd944e7d9 /gcc/hard-reg-set.h
parentd5e0243aacff3f0daa4315bc3effaf0454883f62 (diff)
downloadgcc-f540a7d37187bcd200436031946655ec39af11bb.tar.gz
1750a.h (datalbl, jmplbl): Declare array size explicitly.
* 1750a.h (datalbl, jmplbl): Declare array size explicitly. * a29k.h (a29k_debug_reg_map): Likewise. * arc.h (arc_regno_reg_class): Likewise. * c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise. * convex.h (regno_reg_class, reg_class_from_letter): Likewise. * d30v.h (regno_reg_class, reg_class_from_letter): Likewise. * i386.h (regclass_map): Likewise. * m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise. * mcore.h (regno_reg_class): Likewise. * mips.h (mips_print_operand_punct, mips_char_to_class): Likewise. * ns32k.h (regclass_map): Likewise. * pj.h (pj_debugreg_renumber_vec): Likewise. * s390.h (regclass_map): Likewise. * sh.h (regno_reg_class): Likewise. * sparc.h (sparc_regno_reg_class): Likewise. * hard-reg-set.h (reg_class_contents): Likewise. * machmode.h (class_narrowest_mode): Likewise. f: * bld.c (ffebld_arity_op_): Declare array size explicitly. * bld.h (ffebld_arity_op_): Likewise. From-SVN: r48281
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r--gcc/hard-reg-set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h
index a4ac4d02634..db96aa9c03c 100644
--- a/gcc/hard-reg-set.h
+++ b/gcc/hard-reg-set.h
@@ -452,7 +452,7 @@ extern int inv_reg_alloc_order[FIRST_PSEUDO_REGISTER];
/* For each reg class, a HARD_REG_SET saying which registers are in it. */
-extern HARD_REG_SET reg_class_contents[];
+extern HARD_REG_SET reg_class_contents[N_REG_CLASSES];
/* For each reg class, number of regs it contains. */