1 /* PR rtl-optimization/82597 */ 2 /* { dg-do compile }*/ 3 /* { dg-options "-O2 -funroll-loops" } */ 4 5 int pb; 6 7 void ch(unsigned char np,char fc)8ch (unsigned char np, char fc) 9 { 10 unsigned char *y6 = &np; 11 12 if (fc != 0) 13 { 14 unsigned char *z1 = &np; 15 16 for (;;) 17 if (*y6 != 0) 18 for (fc = 0; fc < 12; ++fc) 19 { 20 int hh; 21 int tp; 22 23 if (fc != 0) 24 hh = (*z1 != 0) ? fc : 0; 25 else 26 hh = pb; 27 28 tp = fc > 0; 29 if (hh == tp) 30 *y6 = 1; 31 } 32 } 33 34 if (np != 0) 35 y6 = (unsigned char *)&fc; 36 if (pb != 0 && *y6 != 0) 37 for (;;) 38 { 39 } 40 } 41