aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2021-03-03 20:34:32 +0000
committerSegher Boessenkool <segher@kernel.crashing.org>2021-03-09 17:10:33 +0000
commitc60ad1c5fe0249f48362be0f989184ca447f9d17 (patch)
tree90abe9ab34b8bf6c08cca80cce360fb82be34f02 /gcc/ada/gcc-interface/decl.c
parenta1e4fc19d99af3964588d3770cbf52e160d5b24b (diff)
downloadgcc-c60ad1c5fe0249f48362be0f989184ca447f9d17.zip
gcc-c60ad1c5fe0249f48362be0f989184ca447f9d17.tar.gz
gcc-c60ad1c5fe0249f48362be0f989184ca447f9d17.tar.bz2
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 <segher@kernel.crashing.org> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_powerpc_sqrt): New. (check_effective_target_sqrt_insn): Use it.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions