re PR tree-optimization/43141 (Wrong debug information with IPA-SRA)

2010-04-01  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/43141
	* testsuite/gcc.dg/guality/pr43141.c: New test.

From-SVN: r157909
This commit is contained in:
Martin Jambor 2010-04-01 15:31:53 +02:00 committed by Martin Jambor
parent aa8bfcad6d
commit d3f76f836f
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-04-01 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/43141
* gcc.dg/guality/pr43141.c: New test.
2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.

View File

@ -0,0 +1,16 @@
/* { dg-do run } */
/* { dg-options "-g" } */
int i;
static int f(int) __attribute ((noinline));
static int f(int x)
{
return i;
}
int main()
{
return f(42);
}
/* { dg-final { gdb-test 8 "sizeof (x)" "sizeof (int)" } } */