diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-26 20:55:34 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-26 20:55:34 +0000 |
commit | ee8f7e1483d36b9bce5f865fc2c37fb170f46b6e (patch) | |
tree | 610e6662c2b8f3fc1795ddd94c16f8924eee878d /gcc/var-tracking.c | |
parent | de4798ba6ccf06f9fc0e7e1ff0f60fa4c1d2a05a (diff) | |
download | gcc-ee8f7e1483d36b9bce5f865fc2c37fb170f46b6e.tar.gz |
* var-tracking.c (vt_expand_loc_callback): Don't run
cselib_expand_value_rtx_cb in dummy mode if
cselib_dummy_expand_value_rtx_cb returned false.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d1ecc8644e0..bff7d119d73 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -6860,14 +6860,13 @@ vt_expand_loc_callback (rtx x, bitmap regs, int max_depth, void *data) result = pc_rtx; break; } - else - { - result = cselib_expand_value_rtx_cb (loc->loc, regs, max_depth, - vt_expand_loc_callback, - data); - if (result) - break; - } + } + else + { + result = cselib_expand_value_rtx_cb (loc->loc, regs, max_depth, + vt_expand_loc_callback, data); + if (result) + break; } if (dummy && (result || var->var_part[0].cur_loc)) var->cur_loc_changed = true; |