[gcc r14-6274] testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib

Marc Poulhi?s dkm@gcc.gnu.org
Thu Dec 7 13:43:41 GMT 2023


https://gcc.gnu.org/g:d36cac18724a63b1dbcbe722015232c72214ce93

commit r14-6274-gd36cac18724a63b1dbcbe722015232c72214ce93
Author: Marc Poulhiès <poulhies@adacore.com>
Date:   Mon Nov 6 11:57:16 2023 +0100

    testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib
    
    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.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr106910-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/i386/pr106910-1.c b/gcc/testsuite/gcc.target/i386/pr106910-1.c
index c7685a32183..13901a1fe89 100644
--- a/gcc/testsuite/gcc.target/i386/pr106910-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr106910-1.c
@@ -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 } } */


More information about the Gcc-cvs mailing list