diff options
author | David Edelsohn <edelsohn@gnu.org> | 2005-03-07 21:24:21 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2005-03-07 16:24:21 -0500 |
commit | 92db3ec9db394735d4c11d477ab29d363243f151 (patch) | |
tree | 1ee8c39f5d040f7bf81c3fc78190b48f1c03908f /gcc/fold-const.c | |
parent | dbce15707a9e5148157fe671c2cd5832ec157c63 (diff) | |
download | gcc-92db3ec9db394735d4c11d477ab29d363243f151.zip gcc-92db3ec9db394735d4c11d477ab29d363243f151.tar.gz gcc-92db3ec9db394735d4c11d477ab29d363243f151.tar.bz2 |
fold-const.c (fold_binary_op_with_conditional_arg): Fix typo ordering ops from earlier change.
* fold-const.c (fold_binary_op_with_conditional_arg): Fix typo
ordering ops from earlier change.
From-SVN: r96046
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index e9fd552..be21160 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -5459,7 +5459,7 @@ fold_binary_op_with_conditional_arg (enum tree_code code, tree cond, tree arg, int cond_first_p) { tree cond_type = cond_first_p ? TREE_TYPE (op0) : TREE_TYPE (op1); - tree arg_type = cond_first_p ? TREE_TYPE (op0) : TREE_TYPE (op1); + tree arg_type = cond_first_p ? TREE_TYPE (op1) : TREE_TYPE (op0); tree test, true_value, false_value; tree lhs = NULL_TREE; tree rhs = NULL_TREE; |