[PATCH] Fix PR56398
Wed Feb 20 13:36:00 GMT 2013
This fixes an ICE because gimple_bb of a default def stmt is NULL.
Just don't do anything here, we're not going to adjust anything
anyway for them.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
2013-02-20 Richard Biener <email@example.com>
* tree-vect-loop-manip.c (adjust_debug_stmts): Skip
SSA default defs.
--- gcc/tree-vect-loop-manip.c (revision 196169)
+++ gcc/tree-vect-loop-manip.c (working copy)
@@ -187,6 +187,7 @@ adjust_debug_stmts (tree from, tree to,
&& TREE_CODE (from) == SSA_NAME
+ && ! SSA_NAME_IS_DEFAULT_DEF (from)
&& ! virtual_operand_p (from))
ai.from = from;
More information about the Gcc-patches