2018-01-16 Richard Biener <rguenther@suse.de>
commit129bdef578ab7cf7edc18b142672b67936c4df80
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2018 09:51:57 +0000 (16 09:51 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2018 09:51:57 +0000 (16 09:51 +0000)
tree7a3d35a2f18720433b15597cda51cdce788c3f0e
parent1fe34f83fe7ade01d2087e2183f2924a16262133
2018-01-16  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-09-29  Vladimir Makarov  <vmakarov@redhat.com>

PR target/81481
* ira-costs.c (scan_one_insn): Don't take into account PIC equiv
with a symbol for LRA.

* gcc.target/i386/pr81481.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256731 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ira-costs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81481.c [new file with mode: 0644]