https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102062
--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> --- Thanks for the detective work! So the variable expansion code could be improved to handle sign extensions better (or maybe zero extensions as well?) In either case that won't help rs6000 much anymore (because the usual case, 32-bit -> 64-bit) doesn't affect us anymore :-) Is there anything left to do here, or can we close the PR?