Commit 3a0fddee by Volker Reichelt Committed by Volker Reichelt

* cp-gimplify.c (gimplify_cp_loop): Use fold_build3.

From-SVN: r108192
parent c3e23a08
2005-12-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* cp-gimplify.c (gimplify_cp_loop): Use fold_build3.
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com> 2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in (c++.all.build, c++.install-normal): Remove. * Make-lang.in (c++.all.build, c++.install-normal): Remove.
......
...@@ -247,8 +247,7 @@ gimplify_cp_loop (tree cond, tree body, tree incr, bool cond_is_first) ...@@ -247,8 +247,7 @@ gimplify_cp_loop (tree cond, tree body, tree incr, bool cond_is_first)
if (cond && !integer_nonzerop (cond)) if (cond && !integer_nonzerop (cond))
{ {
t = build_bc_goto (bc_break); t = build_bc_goto (bc_break);
exit = build3 (COND_EXPR, void_type_node, cond, exit, t); exit = fold_build3 (COND_EXPR, void_type_node, cond, exit, t);
exit = fold (exit);
gimplify_stmt (&exit); gimplify_stmt (&exit);
if (cond_is_first) if (cond_is_first)
......
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