From: Marc Poulhiès Date: Mon, 6 Nov 2023 10:57:16 +0000 (+0100) Subject: testsuite: skip gcc.target/i386/pr106910-1.c test when using newlib X-Git-Tag: basepoints/gcc-15~3865 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d36cac18724a63b1dbcbe722015232c72214ce93;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.target/i386/pr106910-1.c b/gcc/testsuite/gcc.target/i386/pr106910-1.c index c7685a321833..13901a1fe89f 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 } } */