This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [RFC] PR debug/49951 - jumpy stepping at end of scope in C++
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Dodji Seketeli <dodji at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 19 Dec 2011 23:58:05 +0100
- Subject: Re: [PATCH] [RFC] PR debug/49951 - jumpy stepping at end of scope in C++
- References: <m3zkf9tt7h.fsf@redhat.com> <4EEB9E6D.2090204@redhat.com> <m339cgp3yr.fsf@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Dec 19, 2011 at 11:54:36PM +0100, Dodji Seketeli wrote:
> PR debug/49951
> * g++.dg/gcov/gcov-2.C: New test.
This change doesn't look like New test, just an adjustment to it...
> diff --git a/gcc/testsuite/g++.dg/gcov/gcov-2.C b/gcc/testsuite/g++.dg/gcov/gcov-2.C
> index 6d002f5..66d8af3 100644
> --- a/gcc/testsuite/g++.dg/gcov/gcov-2.C
> +++ b/gcc/testsuite/g++.dg/gcov/gcov-2.C
> @@ -20,7 +20,7 @@ private:
>
> void foo()
> {
> - C c; /* count(2) */
> + C c; /* count(1) */
> c.seti (1); /* count(1) */
> }
>
Jakub