From b49a8bf4357f747a1677f5585148ca54e13fd6a4 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Sat, 9 Dec 1995 00:30:07 +0000 Subject: [PATCH] Fix recent breakage From-SVN: r10691 --- gcc/config/rs6000/rs6000.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a28bd5c2fd5..f384520e591 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -790,9 +790,8 @@ input_operand (op, mode) if (register_operand (op, mode)) return 1; - /* For HImode and QImode, any constant is valid. */ - if ((mode == HImode || mode == QImode) - && GET_CODE (op) == CONST_INT) + /* For integer modes, any constant is ok. */ + if (GET_CODE (op) == CONST_INT) return 1; /* A SYMBOL_REF referring to the TOC is valid. */ -- 2.30.2