aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2018-11-06 05:33:40 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2018-11-06 05:33:40 +0000
commit91c03124fcd1e652e225e16dde954efbb994543c (patch)
tree4933a94e1769bcaf6f900d46f2aadc5c98d0f3a6 /gcc/tree-vect-loop-manip.c
parentce2ad8cc8f080890966b594453ff01e875605e66 (diff)
downloadgcc-91c03124fcd1e652e225e16dde954efbb994543c.zip
gcc-91c03124fcd1e652e225e16dde954efbb994543c.tar.gz
gcc-91c03124fcd1e652e225e16dde954efbb994543c.tar.bz2
gOlogy: fix debug binds in auto-inc-dec
As auto_inc_dec pass combines incs and mems from different insns, it often causes regs to temporarily hold a value different from the one it would before the transformation. Debug insns within that range would therefore end up binding to the wrong expression after the transformation. This patch adjusts debug binds in the affected range. for gcc/ChangeLog * auto-inc-dec.c: Include valtrack.h. Improve comments. (reg_next_debug_use): New. (attempt_change): Propagate adjusted expression into affected debug insns. (merge_in_block): Track uses in debug insns. (pass_inc_dec::execute): Allocate and release reg_next_debug_use. From-SVN: r265828
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions