On 09/12/16 16:31, Bernd Schmidt wrote: > On 12/09/2016 05:16 PM, Andre Vieira (lists) wrote: > >> Regardless, 'reload_cse_simplify' would never perform the opposite >> transformation. It checks whether it can replace anything within the >> first argument INSN, with the second argument TESTREG. As the name >> implies this will always be a register. I double checked, the function >> is only called in 'reload_cse_regs' and 'testreg' is created using >> 'gen_rtx_REG'. > > Ok, let's go ahead with it. > > > Bernd > Hello,
Is it OK to backport this (including the testcase fix) to gcc-6-branch? Patches apply cleanly and full bootstrap and regression tests for aarch64- and arm-none-linux-gnueabihf. Regression tested for arm-none-eabi. Cheers, Andre