annotate gcc/testsuite/gcc.c-torture/compile/pr46534.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
1 /* { dg-skip-if "too big" { nvptx-*-* } } */
111
kono
parents:
diff changeset
2 /* PR middle-end/46534 */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 extern int printf (const char *, ...);
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 #define S1 " "
kono
parents:
diff changeset
7 #define S2 S1 S1 S1 S1 S1 S1 S1 S1 S1 S1
kono
parents:
diff changeset
8 #define S3 S2 S2 S2 S2 S2 S2 S2 S2 S2 S2
kono
parents:
diff changeset
9 #define S4 S3 S3 S3 S3 S3 S3 S3 S3 S3 S3
kono
parents:
diff changeset
10 #define S5 S4 S4 S4 S4 S4 S4 S4 S4 S4 S4
kono
parents:
diff changeset
11 #define S6 S5 S5 S5 S5 S5 S5 S5 S5 S5 S5
kono
parents:
diff changeset
12 #define S7 S6 S6 S6 S6 S6 S6 S6 S6 S6 S6
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 void
kono
parents:
diff changeset
15 foo (void)
kono
parents:
diff changeset
16 {
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
17 printf (S7 "\n"); /* { dg-error "size of string literal is too large" "" { target { ! size32plus } } } */
111
kono
parents:
diff changeset
18 }