2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr39829.c
blobda15a56e106d6744a41a67c589937a73697e060f
1 /* { dg-do compile } */
2 /* { dg-options "-w" } */
4 void foo (void * DAG_temp117584)
6 char uA;
7 void* pA;
8 void* pB;
9 void* pC;
10 do {
11 int DAG_temp117585;
12 int DAG_temp117586;
13 void ** __indir_union1 = (void**)DAG_temp117584;
14 DAG_temp117585 = (long)*__indir_union1;
15 DAG_temp117586 = DAG_temp117585;
16 if ( DAG_temp117586 != (int)268435456 )
17 pA = (void*)&uA;
18 pB = (void*)&pA;
19 pC = pB;
20 union __block_indir0_u { struct { long val; } __indir_struct; }
21 * __indir_union = (union __block_indir0_u*)pC;
22 f(__indir_union->__indir_struct.val);
24 DAG_temp117584 += 64;
25 } while (1);