From: Richard Stallman Date: Sat, 30 Jan 1993 01:57:54 +0000 (+0000) Subject: (force_fit_type): Abort if T not INTEGER_CST. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42f769c15a1ffce2b7069bbaa8278f9227ac0cce;p=gcc.git (force_fit_type): Abort if T not INTEGER_CST. From-SVN: r3387 --- diff --git a/gcc/fold-const.c b/gcc/fold-const.c index e3a7ca0efbc..a84ec0457a9 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -124,6 +124,9 @@ force_fit_type (t) { register int prec = TYPE_PRECISION (TREE_TYPE (t)); + if (TREE_CODE (t) != INTEGER_CST) + abort (); + if (TREE_CODE (TREE_TYPE (t)) == POINTER_TYPE) prec = POINTER_SIZE;