Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / pr15349.c
blob5c440e60775117b4107b28f089a4f3a9dc37137c
1 /* PR 15349. Merge two PHI nodes. */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -fdump-tree-mergephi" } */
5 int
6 foo (int a, int b)
8 int t;
10 if (b)
12 if (a)
13 t = 3;
14 else
15 t = 5;
17 a = 0;
19 else
20 t = 7;
22 return t;
25 /* { dg-final { scan-tree-dump-times "PHI" 1 "mergephi"} } */
26 /* { dg-final { cleanup-tree-dump "mergephi" } } */