blob: 663a171821b0bbfad56df6308f5b5a8a9b967156 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* PR rtl-optimization/90082 */
/* { dg-do compile } */
/* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */
void *buf[5];
void
foo (int a)
{
if (__builtin_setjmp (buf) == 0)
__asm__ ("" : : "n" (a * 2)); /* { dg-error "impossible constraint in 'asm'" } */
/* { dg-warning "'asm' operand 0 probably does not match constraints" "" { target *-*-* } .-1 } */
}
|