PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr55512-1.c
blobde88f60f0de23c62d27cb23dd021509a77423b39
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int
5 foo (int x)
7 asm goto ("" : : "r" (x), "r" (x + 1), "r" (x + 2), "r" (x + 3), /* { dg-error "operand has impossible constraints" } */
8 "r" (x + 4), "r" (x + 5), "r" (x + 6), "r" (x + 7),
9 "r" (x + 8), "r" (x + 9), "r" (x + 10), "r" (x + 11),
10 "r" (x + 12), "r" (x + 13), "r" (x + 14), "r" (x + 15) : : lab);
11 __builtin_unreachable ();
12 lab:
13 return 0;