[PATCH] middle-end/105711 - properly handle CONST_INT when expanding bitfields

2022-05-24 Thread Richard Biener via Gcc-patches
This is another place where we fail to pass down the mode of a CONST_INT. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Thanks, Richard. 2022-05-24 Richard Biener PR middle-end/105711 * expmed.cc (extract_bit_field_as_subreg): Add op0_mode parameter and use

Re: [PATCH] middle-end/105711 - properly handle CONST_INT when expanding bitfields

2022-05-24 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > This is another place where we fail to pass down the mode of a > CONST_INT. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? > > Thanks, > Richard. > > 2022-05-24 Richard Biener > > PR middle-end/105711 > * expmed.cc (extract_bit_field_as_subreg)

Re: [PATCH] middle-end/105711 - properly handle CONST_INT when expanding bitfields

2022-05-24 Thread Richard Biener via Gcc-patches
On Tue, 24 May 2022, Richard Sandiford wrote: > Richard Biener writes: > > This is another place where we fail to pass down the mode of a > > CONST_INT. > > > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? > > > > Thanks, > > Richard. > > > > 2022-05-24 Richard Biener > > > > P