diff options
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r-- | gcc/config/mips/mips.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ee23d4f..594d5c1 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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 |