blob: d1e45a893adb6ee99792d373e497f062c42902e6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int
main()
{
int a,b;
__attribute__ ((noinline))
void kill_me()
{
a=1234;
b=2234;
}
a=0;
b=1234;
__attribute__ ((noinline))
int reta()
{
return a;
}
return reta();
}
/* { dg-final { scan-tree-dump-not "kill_me" "optimized" } } */
/* { dg-final { scan-tree-dump-not "1234" "optimized" } } */