
2010-04-01 Martin Jambor <mjambor@suse.cz> PR tree-optimization/43141 * testsuite/gcc.dg/guality/pr43141.c: New test. From-SVN: r157909
16 lines
229 B
C
16 lines
229 B
C
/* { 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)" } } */
|