middle-end/105259 - adjust gcc.target/i386/auto-init-4.c
authorRichard Biener <rguenther@suse.de>
Wed, 13 Apr 2022 08:41:41 +0000 (10:41 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 13 Apr 2022 08:43:55 +0000 (10:43 +0200)
This adjusts the FAILing testcase to only check for the pieces
that work.  The bug tracks improving pattern-init for long double.

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

index 1803dd4..5b4fd87 100644 (file)
@@ -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 } } */