public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] testsuite: Require lra effective target for pr107385.c
@ 2024-02-15 19:07 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-02-15 19:07 UTC (permalink / raw)
  To: gcc-patches

Hi!

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.

Tested on x86_64-linux, committed to trunk and other release branches.
Thanks to Andrew Pinski for noticing this on IRC.

2024-02-15  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/107385
	* gcc.dg/pr107385.c: Require lra effective target.

--- gcc/testsuite/gcc.dg/pr107385.c.jj	2024-02-15 15:51:24.171246580 +0100
+++ gcc/testsuite/gcc.dg/pr107385.c	2024-02-15 20:02:15.023763659 +0100
@@ -1,5 +1,5 @@
 /* PR middle-end/107385 */
-/* { dg-do run } */
+/* { dg-do run { target lra } } */
 /* { dg-options "-O2" } */
 
 __attribute__((noipa)) int

	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-15 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 19:07 [committed] testsuite: Require lra effective target for pr107385.c Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).