https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93300
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stam Markianos-Wright <stamm...@gcc.gnu.org>: https://gcc.gnu.org/g:ff861d65950ede95b6c28ac720c56d44cff784de commit r10-6473-gff861d65950ede95b6c28ac720c56d44cff784de Author: Stam Markianos-Wright <stam.markianos-wri...@arm.com> Date: Wed Feb 5 19:21:42 2020 +0000 [GCC][BUG][ARM] Fix ICE due to BFmode libfunc call (PR93300) This was sent and approved on gcc-patches as "[GCC][BUG][Aarch64][ARM] (PR93300) Fix ICE due to BFmode placement in GET_MODES_WIDER chain". The observed error came about because BFmode was placed between HFmode and SFmode in the GET_MODES_WIDER chain, resulting in convert_mode_scalar attempting to gen a libfunc for a HFmode -> BFmode conversion. This patch registers NULL for all libfuncs in BFmode, which stops the middle-end from attempting to generate them. gcc/ChangeLog: 2020-02-06 Stam Markianos-Wright <stam.markianos-wri...@arm.com> PR target/93300 * config/arm/arm.c (arm_block_arith_comp_libfuncs_for_mode): New. (arm_init_libfuncs): Add BFmode support to block spurious BF libfuncs. Use arm_block_arith_comp_libfuncs_for_mode for HFmode.