diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-29 21:51:59 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-29 21:51:59 +0000 |
commit | 480deeba1bc5c25b5c13d6b0eec295fc06a5d048 (patch) | |
tree | 04dc0437423d0c157b1185597931b71a502f1f10 | |
parent | 0b4f89526f1baa557ba3c36d81fde3d824dbcb03 (diff) | |
download | gcc-480deeba1bc5c25b5c13d6b0eec295fc06a5d048.tar.gz |
2005-03-29 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (mips_gimplify_va_arg_expr): Update for
truthvalue conversion removal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97208 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 467637a9282..a3a955f1d15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ee23d4f59b6..594d5c1a5b8 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 |