https://gcc.gnu.org/g:1cd5aaf462ed6096363a45c608115d02a921aafd
commit r16-7444-g1cd5aaf462ed6096363a45c608115d02a921aafd Author: Alexandre Oliva <[email protected]> Date: Tue Feb 10 21:36:48 2026 -0300 testsuite: i386: require glibc for C99 libm in vectorize-aocl1.c x86_64-elf fails gcc.target/i386/vectorize-aocl1.c because various functions aren't recognized as builtins because the target isn't assumed to offer C99 math library functions, and then the expected transformations don't occur when calling them. It would presumably be possible to adjust the test so that it passes under such conditions, but I'm not undertaking that. Requiring glibc isn't quite ideal, but it's probably good enough, even though the test makes some effort to compile with other libraries. for gcc/testsuite/ChangeLog * gcc.target/i386/vectorize-aocl1.c: Require glibc. Diff: --- gcc/testsuite/gcc.target/i386/vectorize-aocl1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/vectorize-aocl1.c b/gcc/testsuite/gcc.target/i386/vectorize-aocl1.c index 5ffb04a7b5b9..18c098aeed06 100644 --- a/gcc/testsuite/gcc.target/i386/vectorize-aocl1.c +++ b/gcc/testsuite/gcc.target/i386/vectorize-aocl1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! ia32 } } } */ +/* { dg-do compile { target { { ! ia32 } && glibc } } } */ /* { dg-options "-O2 -ftree-vectorize -ffast-math -march=znver5 -mveclibabi=aocl" } */
