re PR tree-optimization/56398 (ICE (Segmentation fault) in dominated_by_p)

2013-02-20  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56398
	* tree-vect-loop-manip.c (adjust_debug_stmts): Skip
	SSA default defs.

From-SVN: r196172
This commit is contained in:
Richard Biener 2013-02-20 13:38:13 +00:00 committed by Richard Biener
parent ec9c9d1b98
commit a52ca7390e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-02-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/56398
* tree-vect-loop-manip.c (adjust_debug_stmts): Skip
SSA default defs.
2013-02-20 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55334

View File

@ -187,6 +187,7 @@ adjust_debug_stmts (tree from, tree to, basic_block bb)
if (MAY_HAVE_DEBUG_STMTS
&& TREE_CODE (from) == SSA_NAME
&& ! SSA_NAME_IS_DEFAULT_DEF (from)
&& ! virtual_operand_p (from))
{
ai.from = from;