On 09/30/2015 07:40 AM, Bernd Edlinger wrote:
Hi,I noticed, that this wrong code bug is caused by two insns which are created by the function process_addr_reg in lra-constraints.c, which share a common sub expression. The fix is rather simple, use copy_rtx when the memory reference is used twice. The patch was boot-strapped and regression-tested on x86_64-pc-linux-gnu and arm-linux-gnueabihf. OK for trunk?
Yes, thanks.