Commit a1516d08 by Kaz Kojima

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
parent cba146eb
2009-07-21 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_gimplify_va_arg_expr): Wrap the result
with a NOP_EXPR if needed.
2009-07-21 Paul Brook <paul@codesourcery.com> 2009-07-21 Paul Brook <paul@codesourcery.com>
* tree-vectorizer.c (increase_alignment): Handle nested arrays. * tree-vectorizer.c (increase_alignment): Handle nested arrays.
......
...@@ -7857,7 +7857,7 @@ sh_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, ...@@ -7857,7 +7857,7 @@ sh_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p,
if (result) if (result)
{ {
gimplify_assign (result, tmp, pre_p); 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)); tmp = build1 (LABEL_EXPR, void_type_node, unshare_expr (lab_over));
gimplify_and_add (tmp, pre_p); gimplify_and_add (tmp, pre_p);
} }
......
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