Commit 92db3ec9 by David Edelsohn Committed by David Edelsohn

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
parent dbce1570
2005-03-07 David Edelsohn <edelsohn@gnu.org>
* fold-const.c (fold_binary_op_with_conditional_arg): Fix typo
ordering ops from earlier change.
2005-03-07 Per Bothner <per@bothner.com> 2005-03-07 Per Bothner <per@bothner.com>
Various fixes to allow us to again build if --enable-mapped-location: Various fixes to allow us to again build if --enable-mapped-location:
......
...@@ -5459,7 +5459,7 @@ fold_binary_op_with_conditional_arg (enum tree_code code, ...@@ -5459,7 +5459,7 @@ fold_binary_op_with_conditional_arg (enum tree_code code,
tree cond, tree arg, int cond_first_p) tree cond, tree arg, int cond_first_p)
{ {
tree cond_type = cond_first_p ? TREE_TYPE (op0) : TREE_TYPE (op1); 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 test, true_value, false_value;
tree lhs = NULL_TREE; tree lhs = NULL_TREE;
tree rhs = NULL_TREE; tree rhs = NULL_TREE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment