comparison gcc/testsuite/gcc.dg/merge-all-constants-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */
2 /* { dg-require-effective-target string_merging } */
3 /* { dg-options "-w -O2 -fmerge-all-constants" } */
4
5 const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
6 const char str2[37] = "0123456789abcdefghijklmnopqrstuvwxyz";
7 const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz";
8
9 /* { dg-final { scan-assembler-not "\\.rodata\[\n\r\]" } } */