1 /* { dg-do compile } */
2 /* { dg-require-alias "" } */
3 /* { dg-options "-O2 -fdump-ipa-icf-optimized -fmerge-all-constants -fdbg-cnt=merged_ipa_icf:1-2" } */
4 /* { dg-prune-output "\\*\\*\\*dbgcnt:.*limit.*reached" } */
8 static const int c
= 2;
9 static const int d
= 2;
10 static char * e
= "test";
11 static char * f
= "test";
12 static int g
[3]={1,2,3};
13 static int h
[3]={1,2,3};
14 static const int *i
=&c
;
15 static const int *j
=&c
;
16 static const int *k
=&d
;
34 /* { dg-final { scan-ipa-dump-times "Unified;" 2 "icf" } } */