blob: 94d8a9c709e6755a96e396662f955cfe71b0d24a [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fno-early-inlining -fdump-tree-fixup_cfg3" } */
int n;
static int
bar (void)
{
int a;
n = 0;
a = 0;
return n;
}
__attribute__ ((pure, returns_twice)) int
foo (void)
{
n = bar () + 1;
foo ();
return 0;
}
/* Abnormal edges should be properly elided after IPA inlining of bar. */
/* { dg-final { scan-tree-dump-times "bb" 1 "fixup_cfg3" } } */