PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51879-3.c
blob90f0041c9818b635ccd3afe9729b78a30e685fd0
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
4 int bar (int);
5 void baz (int);
7 void
8 foo (int y)
10 int a;
11 if (y == 6)
12 a = bar (7) + 6;
13 else
14 a = bar (7) + 6;
15 baz (a);
18 /* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre"} } */
19 /* { dg-final { cleanup-tree-dump "pre" } } */