From 42f769c15a1ffce2b7069bbaa8278f9227ac0cce Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 30 Jan 1993 01:57:54 +0000 Subject: [PATCH] (force_fit_type): Abort if T not INTEGER_CST. From-SVN: r3387 --- gcc/fold-const.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2