1 /* -Woverlength-strings complains about string constants which are too long
2 for the C standard's "minimum maximum" limits. It is off by default,
3 but implied by -pedantic. */
5 /* { dg-options "-std=c89 -pedantic" } */
8 #define HUN TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN
9 #define THO HUN HUN HUN HUN HUN HUN HUN HUN HUN HUN
11 /* C89's minimum-maximum is 509. */
12 __asm__ (HUN HUN HUN HUN HUN TEN
);
14 /* C99's minimum-maximum is 4095. */
16 THO THO THO THO
/* 4000 */
17 TEN TEN TEN TEN TEN
/* 4050 */
18 TEN TEN TEN TEN
/* 4090 */
24 /* C89's minimum-maximum is 509. */
25 __asm__ (HUN HUN HUN HUN HUN TEN
);
26 __asm__ (HUN HUN HUN HUN HUN TEN
: : );
27 __asm__
goto (HUN HUN HUN HUN HUN TEN
: : : : label
);
29 /* C99's minimum-maximum is 4095. */
31 THO THO THO THO
/* 4000 */
32 TEN TEN TEN TEN TEN
/* 4050 */
33 TEN TEN TEN TEN
/* 4090 */
36 THO THO THO THO
/* 4000 */
37 TEN TEN TEN TEN TEN
/* 4050 */
38 TEN TEN TEN TEN
/* 4090 */
41 THO THO THO THO
/* 4000 */
42 TEN TEN TEN TEN TEN
/* 4050 */
43 TEN TEN TEN TEN
/* 4090 */
44 "123456" : : : : label
);