https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70901
Bug ID: 70901 Summary: vectorized sin cos is wrongly optimized into scalar sincos Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38390&action=edit testcase As per title. Compile testcase with g++ -std=c++11 -O1 -fopenmp -ffast-math -march=ivybridge -mtune=ivybridge -o vector_sin_cos_to_scalar_sincos vector_sin_cos_to_scalar_sincos.cpp