https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448
--- Comment #3 from Torbjorn SVENSSON <azoff at gcc dot gnu.org> --- Compiling the test case with -Os resolves the failed checks, but it also starts failing on the sqrt() and sqrtf() calls. These are no longer expanded to vsqrt.f32 and vsqrt.f64 but instead a branch to sqrt and sqrtf functions. Also, I think this test could be improved by doing function-bodies to ensure that the instruction generated is for the correct c operation. Is this something that you would like me to send a patch with?