Re: [PATCH] expr: Fix ICE on BFmode -> SFmode conversion of constant [PR107262]

2022-10-19 Thread Richard Biener via Gcc-patches
> Am 19.10.2022 um 09:55 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > I forgot to handle the case where lowpart_subreg returns a VOIDmode > CONST_INT, in that case convert_mode_scalar obviously doesn't work. > > The following patch fixes that. > > Bootstrapped/regtested on x86_64-

[PATCH] expr: Fix ICE on BFmode -> SFmode conversion of constant [PR107262]

2022-10-19 Thread Jakub Jelinek via Gcc-patches
Hi! I forgot to handle the case where lowpart_subreg returns a VOIDmode CONST_INT, in that case convert_mode_scalar obviously doesn't work. The following patch fixes that. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2022-10-19 Jakub Jelinek PR middle-end/107