Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr90082.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* PR rtl-optimization/90082 */ /* { dg-do compile } */ /* { dg-require-effective-target nonlocal_goto } */ /* { dg-require-effective-target label_values } */ /* { 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 } */ }