From a1516d083635329af0ad21c5f2e3daf3bd92219d Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Tue, 21 Jul 2009 12:45:52 +0000 Subject: [PATCH] sh.c (sh_gimplify_va_arg_expr): Wrap the result with a NOP_EXPR if needed. * config/sh/sh.c (sh_gimplify_va_arg_expr): Wrap the result with a NOP_EXPR if needed. From-SVN: r149854 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c189dda3f50..68a81ccb44d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-07-21 Kaz Kojima + + * config/sh/sh.c (sh_gimplify_va_arg_expr): Wrap the result + with a NOP_EXPR if needed. + 2009-07-21 Paul Brook * tree-vectorizer.c (increase_alignment): Handle nested arrays. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index b4c190029df..788b0fe1391 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -7857,7 +7857,7 @@ sh_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, if (result) { gimplify_assign (result, tmp, pre_p); - + result = build1 (NOP_EXPR, TREE_TYPE (result), result); tmp = build1 (LABEL_EXPR, void_type_node, unshare_expr (lab_over)); gimplify_and_add (tmp, pre_p); } -- 2.30.2