diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1995-12-09 00:30:07 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1995-12-09 00:30:07 +0000 |
commit | b49a8bf4357f747a1677f5585148ca54e13fd6a4 (patch) | |
tree | 931ecd59fbeaf38376674a49aac3c9909d254922 /gcc | |
parent | 481a49d69f2da33f1fa2e6d89b06bcf0e3a5ea1e (diff) | |
download | gcc-b49a8bf4357f747a1677f5585148ca54e13fd6a4.zip gcc-b49a8bf4357f747a1677f5585148ca54e13fd6a4.tar.gz gcc-b49a8bf4357f747a1677f5585148ca54e13fd6a4.tar.bz2 |
Fix recent breakage
From-SVN: r10691
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a28bd5c..f384520 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. */ |