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:
parent
aa8bfcad6d
commit
d3f76f836f
2 changed files with 21 additions and 0 deletions
|
@ -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*.
|
||||
|
|
16
gcc/testsuite/gcc.dg/guality/pr43141.c
Normal file
16
gcc/testsuite/gcc.dg/guality/pr43141.c
Normal 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)" } } */
|
Loading…
Add table
Reference in a new issue