This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/68603] [6 Regression] FAIL: g++.dg/gcov/gcov-1.C
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Dec 2015 07:27:01 +0000
- Subject: [Bug gcov-profile/68603] [6 Regression] FAIL: g++.dg/gcov/gcov-1.C
- Auto-submitted: auto-generated
- References: <bug-68603-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68603
--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Wed Dec 2 07:26:30 2015
New Revision: 231146
URL: https://gcc.gnu.org/viewcvs?rev=231146&root=gcc&view=rev
Log:
[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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c