On Wed, Oct 21, 2015 at 7:12 PM, Richard Henderson <r...@redhat.com> wrote: > On 10/21/2015 03:37 AM, Jeff Law wrote: >> >> On 10/20/2015 03:27 PM, Richard Henderson wrote: >>> >>> --- >>> gcc/cselib.c | 22 >>> +++++++++++++--------- >>> gcc/fold-const.c | 14 +++++++------- >>> gcc/testsuite/gcc.target/i386/addr-space-2.c | 11 +++++++++++ >>> 3 files changed, 31 insertions(+), 16 deletions(-) >>> create mode 100644 gcc/testsuite/gcc.target/i386/addr-space-2.c >> >> This part is fine. Does the one testcase cover both the cselib.c & >> fold-const.c fix? If not, it'd be good to cover both if we can. > > > Yes it does. > > The fold-const fix gets us as far as .optimized, but then the cselib fix > gets us past postreload-cse.
These fixes are appropriate for backporting as well I think. Richard. > > r~