https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40770

--- Comment #22 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to 康 珊 from comment #21)
> $ gcc -m64 -g -O2 -fopenmp-simd -fPIC -Wall test_sincos.c -o test_sincos -lm
> -march=skylake-avx512 -ffast-math -ftree-loop-vectorize

Try adding -fno-builtin-sincos here

> $ ldd test_sincos
>         linux-vdso.so.1 (0x00007ffd2393f000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007f574f49d000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f574f2a2000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f574f601000)
> My gcc version is "10.1.1 20200507".
> And I have uploaded my test source file.

Reply via email to