diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2015-12-02 07:26:30 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2015-12-02 07:26:30 +0000 |
commit | fe78aa0474d9469384951dbddcd5aeea5f40c03c (patch) | |
tree | 22b8c4643f1392c93c1f11bdb98955d9afa2a630 /gcc/tree-vect-patterns.c | |
parent | df096e508e95abecfacdf0c18abae8807b56cc11 (diff) | |
download | gcc-fe78aa0474d9469384951dbddcd5aeea5f40c03c.zip gcc-fe78aa0474d9469384951dbddcd5aeea5f40c03c.tar.gz gcc-fe78aa0474d9469384951dbddcd5aeea5f40c03c.tar.bz2 |
[PR68603] Associate conditional C++ loop's back-jump with start, not body
SVN commit r230979 always associates a loop's back-jump with the start
of the loop body. This caused a regression for gcov with conditional
loops, because then the loop body appears to be covered twice per
iteration.
2015-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
PR gcov-profile/68603
* cp-gimplify.c (genericize_cp_loop): For the back-jump's location
use the start of the loop body only if the loop is unconditional.
From-SVN: r231146
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions