gcc/testsuite/gcc.dg/merge-all-constants-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-w -O2 -fmerge-all-constants" } */ |
| 3 | |
| 4 | const char str1[36] = "\000123456789abcdefghijklmnopqrstuvwxyz"; |
| 5 | const char str2[38] = "0123456789abcdefghijklmnopqrstuvwxyz"; |
| 6 | const char str3[10] = "\000123456789abcdefghijklmnopqrstuvwxyz"; |
| 7 | |
| 8 | /* { dg-final { scan-assembler-not "\\.rodata\\.str" } } */ |