aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/options.cc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-11-22 01:18:29 +0000
committerMaciej W. Rozycki <macro@embecosm.com>2023-11-22 01:18:29 +0000
commit37ff43c27344784caed28778fb847244a49644bd (patch)
tree7e18a21adaa02ed41de4b64cc9603b745b01968b /gcc/fortran/options.cc
parent7e126d8d0fbe5677070f02c32a1425849ce36298 (diff)
downloadgcc-37ff43c27344784caed28778fb847244a49644bd.zip
gcc-37ff43c27344784caed28778fb847244a49644bd.tar.gz
gcc-37ff43c27344784caed28778fb847244a49644bd.tar.bz2
RISC-V: Also allow FP conditions in `riscv_expand_conditional_move'
In `riscv_expand_conditional_move' we only let integer conditions through at the moment, even though code has already been prepared to handle floating-point conditions as well. Lift this restriction and only bail out if a non-word-mode integer condition has been requested, as we cannot handle this specific case owing to machine instruction set restriction. We already take care of the non-integer, non-floating-point case later on. gcc/ * config/riscv/riscv.cc (riscv_expand_conditional_move): Don't bail out in floating-point conditions.
Diffstat (limited to 'gcc/fortran/options.cc')
0 files changed, 0 insertions, 0 deletions