Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-13.c
blobf0af7611fb904621b22e3deb044e3439fb834c4a
1 /* { dg-do compile } */
2 /* { dg-options "-O -fgimple" } */
4 void __GIMPLE (startwith ("dse2")) foo ()
6 int a;
8 bb_2:
9 if (a > 4)
10 goto bb_3;
11 else
12 goto bb_4;
14 bb_3:
15 a_2 = 10;
16 goto bb_5;
18 bb_4:
19 a_3 = 20;
21 bb_5:
22 a_1 = __PHI (bb_3: a_2, bb_4: a_3);
23 a_4 = a_1 + 4;
25 return;