* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030907-2.c
blob47d60946e0cc83a373d23e1c03849f488c35c323
1 /* PR optimization/12109
3 This would ICE in tree-ssa-dce.c:process_worklist() when
4 the function was expecting an SSA_NAME but found a VAR_DECL. */
6 /* { dg-do compile } */
7 /* { dg-options "-O -ftree-dce" } */
9 void *do_it(void * dest, const void * src);
10 double *create_float(void);
12 void parse_rvalue(void **DataPtr)
14 double local = 0.0;
15 int terms = 1;
17 *DataPtr = create_float();
19 switch (terms)
21 case 1:
22 *((double *)*DataPtr) = local;
23 break;
25 case 2:
26 do_it(*DataPtr, &local);
27 break;