From: Jakub Jelinek Date: Thu, 15 Feb 2024 19:04:01 +0000 (+0100) Subject: testsuite: Require lra effective target for pr107385.c X-Git-Tag: basepoints/gcc-15~1122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d5d1c75f5c68b6064640c3154ae5f4c0b464905;p=thirdparty%2Fgcc.git testsuite: Require lra effective target for pr107385.c Old reload doesn't support asm goto with output operands. We have lra effective target (though, strangely it returns 0 just for 2 targets out of at least 16 targets with no LRA support), so this patch uses it, similarly how it is done in other asm goto tests with output operands. 2024-02-15 Jakub Jelinek PR middle-end/107385 * gcc.dg/pr107385.c: Require lra effective target. --- diff --git a/gcc/testsuite/gcc.dg/pr107385.c b/gcc/testsuite/gcc.dg/pr107385.c index b678f57a3dfc..0cc0655d8483 100644 --- a/gcc/testsuite/gcc.dg/pr107385.c +++ b/gcc/testsuite/gcc.dg/pr107385.c @@ -1,5 +1,5 @@ /* PR middle-end/107385 */ -/* { dg-do run } */ +/* { dg-do run { target lra } } */ /* { dg-options "-O2" } */ __attribute__((noipa)) int