> This patch has been tested on x86_64-pc-linux-gnu with make bootstrap > and make -k check with no new failures. Ok for mainline? > > > 2022-02-27 Roger Sayle <ro...@nextmovesoftware.com> > > gcc/ChangeLog > PR middle-end/80270 > * expmed.cc (extract_integral_bit_field): If OP0 is a hard > register, copy it to a pseudo before calling simplify_gen_subreg.
Looks good to me, but why not using copy_to_reg here? -- Eric Botcazou