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

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Torbjorn SVENSSON from comment #3)
> 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.
> 

Does adding -fno-math-errno resolve that?

> 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?

That would need to wait for gcc-16 now, I suspect.

Reply via email to