> So like this instead (if it passes another bootstrap/regtest)? > > 2020-12-10 Jakub Jelinek <ja...@redhat.com> > > PR middle-end/98190 > * expr.c (expand_assignment): If to_rtx is a promoted SUBREG, > ensure sign or zero extension either through use of store_expr > or by extending manually. > > * gcc.dg/pr98190.c: New test.
Yes, this looks good to me. -- Eric Botcazou