https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99352
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> --- commit c60ad1c5fe0249f48362be0f989184ca447f9d17 Author: Segher Boessenkool <seg...@kernel.crashing.org> Date: Wed Mar 3 20:34:32 2021 +0000 rs6000: Fix check_effective_target_sqrt_insn (PR99352) The previous version returned true for all PowerPC. This is incorrect. We only support floating point square root instructions if a) we support floating point instructions at all, and b) we have _ARCH_PPCSQ defined. 2020-03-09 Segher Boessenkool <seg...@kernel.crashing.org> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_powerpc_sqrt): New. (check_effective_target_sqrt_insn): Use it.