Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr90082.c
bloba8d76bbc78e642ec2726b1a8d3a4e3b385aea862
1 /* PR rtl-optimization/90082 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target nonlocal_goto } */
4 /* { dg-require-effective-target label_values } */
5 /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */
7 void *buf[5];
9 void
10 foo (int a)
12 if (__builtin_setjmp (buf) == 0)
13 __asm__ ("" : : "n" (a * 2)); /* { dg-error "impossible constraint in 'asm'" } */
14 /* { dg-warning "'asm' operand 0 probably does not match constraints" "" { target *-*-* } .-1 } */