middle-end/105259 - adjust gcc.target/i386/auto-init-4.c
Commit Message
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(-)
@@ -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 } } */