]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | void *buf[5]; | |
7 | ||
8 | void | |
9 | foo (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 | } |