aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.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/machmode.h
parentd5e0243aacff3f0daa4315bc3effaf0454883f62 (diff)
downloadgcc-f540a7d37187bcd200436031946655ec39af11bb.zip
gcc-f540a7d37187bcd200436031946655ec39af11bb.tar.gz
gcc-f540a7d37187bcd200436031946655ec39af11bb.tar.bz2
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/machmode.h')
-rw-r--r--gcc/machmode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 9b2ad8f..0f285e3 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -148,7 +148,7 @@ extern unsigned get_mode_alignment PARAMS ((enum machine_mode));
/* For each class, get the narrowest mode in that class. */
-extern const enum machine_mode class_narrowest_mode[];
+extern const enum machine_mode class_narrowest_mode[(int) MAX_MODE_CLASS];
#define GET_CLASS_NARROWEST_MODE(CLASS) class_narrowest_mode[(int) (CLASS)]
/* Define the integer modes whose sizes are BITS_PER_UNIT and BITS_PER_WORD