re PR target/81422 ([aarch64] internal compiler error: in update_equiv_regs, at ira...
commit241dbd9d6844dc7f9c463674bd1221984eec539e
authorQing Zhao <qing.zhao@oracle.com>
Wed, 11 Oct 2017 19:43:54 +0000 (11 19:43 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 11 Oct 2017 19:43:54 +0000 (11 19:43 +0000)
tree5bd904d82dedac2e34f87205a2b84e79e1b0b410
parent6dcb9e910b8e6f7638f88d657bb9cc10d38b141c
re PR target/81422 ([aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425)

/gcc
2017-10-11  Qing Zhao  <qing.zhao@oracle.com>

PR target/81422
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Check whether the dest is REG before adding REG_EQUIV note.

/gcc/testsuite
2017-10-11  Qing Zhao  <qing.zhao@oracle.com>

PR target/81422
       * gcc.target/aarch64/pr81422.C: New test.

From-SVN: r253657
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr81422.C [new file with mode: 0644]