PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr23777.c
blobc2ad9b70707fea44fe94c52aff9063a8600bfcf5
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 extern void f(char *const *);
5 void g (char **o)
7 static const char *const multilib_exclusions_raw[] = { 0 };
8 const char *const *q = multilib_exclusions_raw;
10 f (o);
11 while (*q++)
12 f (o);
15 /* The last DCE pass is able to remove the load from
16 multilib_exclusions_raw. */
18 /* { dg-final { scan-tree-dump-not "multilib_exclusions_raw" "optimized" } } */
19 /* { dg-final { cleanup-tree-dump "optimized" } } */