Commit c479c2ac by Jeffrey A Law Committed by Jeff Law

* fold-const.c (fold): Fix another type in COND_EXPR handling code.

From-SVN: r22499
parent 62616695
Sun Sep 20 12:14:45 1998 Jeffrey A Law (law@cygnus.com)
* fold-const.c (fold): Fix another type in COND_EXPR handling code.
1998-09-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* configure.in: Add support for c4x targets.
......
......@@ -6014,7 +6014,8 @@ fold (expr)
t = build (code, type, tem,
TREE_OPERAND (t, 2), TREE_OPERAND (t, 1));
arg0 = tem;
arg1 = TREE_OPERAND (t, 2);
/* arg1 should be the first argument of the new T. */
arg1 = TREE_OPERAND (t, 1);
STRIP_NOPS (arg1);
}
}
......
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