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.
r~