* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030213-1.c
bloba1cf180364f0814fe8c8ac4f6b0099dc9f056df6
1 /* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */
2 /* { dg-do link { target fpic } } */
3 /* { dg-options "-O -fpic" } */
4 /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
6 int *g;
8 int main (void)
10 switch (*g)
12 case 0:
14 switch (*g)
16 case 0: *g = 1; break;
17 case 1:
18 case 2: *g = 1; break;
19 case 3:
20 case 4: *g = 1; break;
22 break;
24 case 1:
26 switch (*g)
28 case 0: *g = 1; break;
29 case 1:
30 case 2: *g = 1; break;
31 case 3:
32 case 4: *g = 1; break;
36 return 0;