]>
Commit | Line | Data |
---|---|---|
9040e4bf | 1 | /* PR rtl-optimization/90082 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */ | |
4 | ||
5 | void *buf[5]; | |
6 | ||
7 | void | |
8 | foo (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 | } |