re PR middle-end/70245 (Miscompilation of ICU on i386 with atom tuning starting with...
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Mar 2016 11:53:53 +0000 (12:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Mar 2016 11:53:53 +0000 (12:53 +0100)
commit9bc057c8da4c460ffd067e5202d399fce6c8cbee
treeaa8a16afdb4d9862a59c6cb53f3fe9990ab1bf61
parentea913779b0921886a8d8503263f27e3ddfc1831b
re PR middle-end/70245 (Miscompilation of ICU on i386 with atom tuning starting with r227382)

PR target/70245
* rtl.h (replace_rtx): Add ALL_REGS argument.
* rtlanal.c (replace_rtx): Likewise.  If true, use REGNO
equality and assert mode is the same, instead of just rtx pointer
equality.
* config/i386/i386.md (mov + arithmetics with load peephole): Pass
true as ALL_REGS argument to replace_rtx.

From-SVN: r234285
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/rtl.h
gcc/rtlanal.c