Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / merge-all-constants-2.c
blob852d35e33c740923aeccb5661e864242f9bd3740
1 /* { dg-do compile } */
2 /* { dg-require-effective-target string_merging } */
3 /* { dg-options "-w -O2 -fmerge-all-constants" } */
5 const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
6 const char str2[37] = "0123456789abcdefghijklmnopqrstuvwxyz";
7 const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz";
9 /* { dg-final { scan-assembler-not "\\.rodata\[\n\r\]" } } */