1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-pre-stats" } */ 3 /* We can't eliminate the *p load here in any sane way, as eshup8 may 4 change it. */ 5 6 void eshup8 (unsigned short *); 7 8 void enormlz(x)9enormlz (x) 10 unsigned short x[]; 11 { 12 register unsigned short *p; 13 p = &x[2]; 14 while ((*p & 0xff00) == 0) 15 { 16 eshup8 (x); 17 } 18 } 19 /* { dg-final { scan-tree-dump-not "Eliminated:" "pre"} } */ 20