1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-optimized" } */ 3 4 extern void f(char *const *); g(char ** o)5void g (char **o) 6 { 7 static const char *const multilib_exclusions_raw[] = { 0 }; 8 const char *const *q = multilib_exclusions_raw; 9 10 f (o); 11 while (*q++) 12 f (o); 13 } 14 15 /* The last DCE pass is able to remove the load from 16 multilib_exclusions_raw. */ 17 18 /* { dg-final { scan-tree-dump-not "multilib_exclusions_raw" "optimized" } } */ 19