PR ipa/61602
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr51106-2.c
blobbab0987fff77286fa070317785c9505c8cbc47cd
1 /* PR target/51106 */
2 /* { dg-do "compile" } */
3 /* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
4 /* { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
6 int
7 bar (int x)
9 asm goto ("" : : "i" (x) : : lab); /* { dg-error "impossible constraint" } */
10 __builtin_unreachable ();
11 lab:
12 return 0;
15 /* { dg-warning "probably doesn.t match constraints" "" { target *-*-* } 9 } */