]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-28.c
2 /* { dg-options "-O -fdump-tree-ccp1" } */
4 extern void abort (void);
8 static int * const p
= &g
[0];
9 static int * const q
= &g
[0];
21 /* We should have replaced all loads from p and q with the constant
24 /* { dg-final { scan-tree-dump-times "= p;" 0 "ccp1" } } */
25 /* { dg-final { scan-tree-dump-times "= q;" 0 "ccp1" } } */