public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] middle-end/105259 - adjust gcc.target/i386/auto-init-4.c
@ 2022-04-13  8:43 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2022-04-13  8:43 UTC (permalink / raw)
  To: gcc-patches

This adjusts the FAILing testcase to only check for the pieces
that work.  The bug tracks improving pattern-init for long double.

Tested on x86_64-unknown-linux-gnu, pushed.

2022-04-13  Richard Biener  <rguenther@suse.de>

	PR middle-end/105259
	* gcc.target/i386/auto-init-4.c: Adjust.
---
 gcc/testsuite/gcc.target/i386/auto-init-4.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/auto-init-4.c b/gcc/testsuite/gcc.target/i386/auto-init-4.c
index 1803dd45842..5b4fd870c36 100644
--- a/gcc/testsuite/gcc.target/i386/auto-init-4.c
+++ b/gcc/testsuite/gcc.target/i386/auto-init-4.c
@@ -15,5 +15,6 @@ long double foo()
 }
 
 
-/* { dg-final { scan-assembler-times "long\t-16843010" 5  { target { ! ia32 } } } } */
-/* { dg-final { scan-assembler-times "long\t-16843010" 3  { target { ia32 } } } } */
+/* The long double init isn't expanded optimally, see PR105259.  For ia32
+   it uses zero-initialization.  */
+/* { dg-final { scan-assembler-times "long\t-16843010" 3 } } */
-- 
2.34.1

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

only message in thread, other threads:[~2022-04-13  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13  8:43 [PATCH] middle-end/105259 - adjust gcc.target/i386/auto-init-4.c Richard Biener

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).