diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-08 14:51:26 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-08 14:51:26 +0000 |
commit | 0087edc6a06e458e4dd6bf3817d7fd41647bcc96 (patch) | |
tree | 5689352c68b543e180bc74d7d78ab9b7cbf2ccb6 /gcc/tree-vect-loop-manip.c | |
parent | eb3357e40d65eac7bedd9a94fe9d2393f9011787 (diff) | |
download | gcc-0087edc6a06e458e4dd6bf3817d7fd41647bcc96.tar.gz |
2012-08-08 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.h (virtual_operand_p): Declare.
* tree-ssa-operands.c (virtual_operand_p): New predicate.
* gimple.c (is_gimple_reg): Use virtual_operand_p.
* tree-into-ssa.c (prepare_block_for_update): Likewise.
* tree-vect-loop-manip.c (adjust_debug_stmts): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190231 138bc75d-0d04-0410-961f-82ee72b054a4
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 cea8a1b8c52..5eda1f2ee10 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; |