diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-30 05:49:49 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-30 05:49:49 +0000 |
commit | 1be84d5abaa03483f498cd52933c5e62d4f44d7d (patch) | |
tree | d913020ebd72b77fb7d37908a6890549fbd33485 /gcc/expr.c | |
parent | 4449f3e046672248e65c576a870e04a32a9d779c (diff) | |
download | gcc-1be84d5abaa03483f498cd52933c5e62d4f44d7d.tar.gz |
* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index f924d53ffea..3a8136f6ff5 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -10199,7 +10199,8 @@ do_compare_and_jump (exp, signed_code, unsigned_code, if_false_label, if (TREE_CODE (TREE_OPERAND (exp, 0)) == INTEGER_CST && (TREE_CODE (TREE_OPERAND (exp, 1)) != INTEGER_CST || (GET_MODE_BITSIZE (mode) - > GET_MODE_BITSIZE (TREE_TYPE (TREE_OPERAND (exp, 1)))))) + > GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, + 1))))))) { /* op0 might have been replaced by promoted constant, in which case the type of second argument should be used. */ |