https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97160
Dave Love <fx at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Dave Love <fx at gnu dot org> --- Apologies; this isn't the compiler. It seems the glibc that Advanced Toolkit gcc 8 uses is responsible for the difference between that and 10. I tried to test that with LD_LIBRARY_PATH, but find you have to build with AT's ld64.so.2 to see the effect. It looks as though sincos in ppc64le glibc-2.17 is just sin+cos, though I can't immediately find my way in the source to check. I'd assumed it was optimized.