Commit 2f1de187 by Eric Christopher Committed by Eric Christopher

mips.c (mips_gimplify_va_arg_expr): Update for truthvalue conversion removal.

2005-03-29  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (mips_gimplify_va_arg_expr): Update for
	truthvalue conversion removal.

From-SVN: r97208
parent dc0a6205
2005-03-29 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (mips_gimplify_va_arg_expr): Update for
truthvalue conversion removal.
2005-03-29 Ian Lance Taylor <ian@airs.com>
PR bootstrap/14316
......
......@@ -3973,7 +3973,8 @@ mips_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p, tree *post_p)
}
/* [2] Emit code to branch if off == 0. */
t = lang_hooks.truthvalue_conversion (off);
t = build (NE_EXPR, boolean_type_node, off,
build_int_cst (TREE_TYPE (off), 0));
addr = build (COND_EXPR, ptr_type_node, t, NULL, NULL);
/* [5] Emit code for: off -= rsize. We do this as a form of
......
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