]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib
authorMarc Poulhiès <poulhies@adacore.com>
Mon, 6 Nov 2023 10:57:16 +0000 (11:57 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 7 Dec 2023 13:31:34 +0000 (14:31 +0100)
Using newlib produces a different codegen because the support for c99
differs (see libc_has_function hook).

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr106910-1.c: Disable for newlib.

gcc/testsuite/gcc.target/i386/pr106910-1.c

index c7685a3218332cff79c8d6a5ffa87e151f542451..13901a1fe89ff0acf8d7994cdb3ec593348d51ed 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target { ! ia32 } } } */
+/* { dg-skip-if "newlib libc math causes different codegen" { newlib } } */
 /* { dg-options "-msse4.1 -O2 -Ofast" } */
 /* { dg-final { scan-assembler-times "roundps" 9 } } */
 /* { dg-final { scan-assembler-times "cvtps2dq" 1 } } */