Commit bdec4dc7 by Richard Guenther Committed by Richard Biener

re PR middle-end/39127 (Invalid GIMPLE with OpenMP)

2009-02-10  Richard Guenther  <rguenther@suse.de>

	PR middle-end/39127
	* gimplify.c (gimple_regimplify_operands): Always look if
	we need to create a temporary.

From-SVN: r144061
parent 7cae94fc
2009-02-10 Richard Guenther <rguenther@suse.de> 2009-02-10 Richard Guenther <rguenther@suse.de>
PR middle-end/39127
* gimplify.c (gimple_regimplify_operands): Always look if
we need to create a temporary.
2009-02-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39132 PR tree-optimization/39132
* tree-loop-distribution.c (todo): New global var. * tree-loop-distribution.c (todo): New global var.
(generate_memset_zero): Trigger TODO_rebuild_alias. (generate_memset_zero): Trigger TODO_rebuild_alias.
......
...@@ -7459,9 +7459,9 @@ gimple_regimplify_operands (gimple stmt, gimple_stmt_iterator *gsi_p) ...@@ -7459,9 +7459,9 @@ gimple_regimplify_operands (gimple stmt, gimple_stmt_iterator *gsi_p)
} }
lhs = gimple_get_lhs (stmt); lhs = gimple_get_lhs (stmt);
/* If regimplification of the LHS changed it in a way that requires /* If the LHS changed it in a way that requires a simple RHS,
a simple RHS, create temporary. */ create temporary. */
if (orig_lhs != lhs && !is_gimple_formal_tmp_var (lhs)) if (lhs && !is_gimple_formal_tmp_var (lhs))
{ {
bool need_temp = false; bool need_temp = false;
......
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