https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805
--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Thu Feb 14 18:46:18 2019 New Revision: 268888 URL: https://gcc.gnu.org/viewcvs?rev=268888&root=gcc&view=rev Log: Backport from trunk 2018-07-26 Segher Boessenkool <seg...@kernel.crashing.org> PR rtl-optimization/85805 * combine.c (reg_nonzero_bits_for_combine): Only use the last set value for hard registers if that was written in the same mode. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/combine.c