diff options
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
-rw-r--r-- | gcc/tree-vect-loop-manip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c index cea8a1b..5eda1f2 100644 --- a/gcc/tree-vect-loop-manip.c +++ b/gcc/tree-vect-loop-manip.c @@ -205,8 +205,9 @@ adjust_debug_stmts (tree from, tree to, basic_block bb) { adjust_info ai; - if (MAY_HAVE_DEBUG_STMTS && TREE_CODE (from) == SSA_NAME - && SSA_NAME_VAR (from) != gimple_vop (cfun)) + if (MAY_HAVE_DEBUG_STMTS + && TREE_CODE (from) == SSA_NAME + && ! virtual_operand_p (from)) { ai.from = from; ai.to = to; |