+2006-12-15 Andrew Pinski <pinski@gmail.com>
+
+ PR tree-opt/30140
+ * tree-inline.c (setup_one_parameter): Gimplify the statement if
+ the variable is not a gimple register variable.
+
2006-12-15 Uros Bizjak <ubizjak@gmail.com>
* invoke.texi (mstringop-strategy): Add missing "byte_loop" value.
at the end. Note that is_gimple_cast only checks the outer
tree code, not its operand. Thus the explicit check that its
operand is a gimple value. */
- if (!is_gimple_val (rhs)
+ if ((!is_gimple_val (rhs)
&& (!is_gimple_cast (rhs)
|| !is_gimple_val (TREE_OPERAND (rhs, 0))))
+ || !is_gimple_reg (var))
gimplify_stmt (&init_stmt);
/* If VAR represents a zero-sized variable, it's possible that the