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