]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr90082.c
[testsuite] Add missing dg-require-effective-target label_values
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr90082.c
CommitLineData
9040e4bf 1/* PR rtl-optimization/90082 */
2/* { dg-do compile } */
90cd5b21 3/* { dg-require-effective-target label_values } */
9040e4bf 4/* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */
5
6void *buf[5];
7
8void
9foo (int a)
10{
11 if (__builtin_setjmp (buf) == 0)
12 __asm__ ("" : : "n" (a * 2)); /* { dg-error "impossible constraint in 'asm'" } */
85b9be9b 13 /* { dg-warning "'asm' operand 0 probably does not match constraints" "" { target *-*-* } .-1 } */
9040e4bf 14}