[PATCH] [RFC] PR debug/49951 - jumpy stepping at end of scope in C++

Jakub Jelinek jakub@redhat.com
Mon Dec 19 22:58:00 GMT 2011


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



More information about the Gcc-patches mailing list