PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / pr18241-4.c
blobad619377b1610bfca998c9c5c6ab709d3c6055a2
1 /* { dg-do run } */
2 /* { dg-options "-O1" } */
4 void abort (void);
6 int f(int i1243)
8 int i[2], *i1 = i;
9 i[0] = 1;
10 volatile int *i2 = i1;
11 i2[1] = 1;
12 i1243 = 0;
13 return i2[1]+i2[0];
17 int main(void)
19 if( f(100) != 2)
20 abort ();
21 return 0;