re PR debug/89006 (New note: non-delegitimized UNSPEC UNSPEC_SET_GOT (14) found in...
authorJakub Jelinek <jakub@redhat.com>
Thu, 24 Jan 2019 20:20:47 +0000 (21:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 24 Jan 2019 20:20:47 +0000 (21:20 +0100)
commit83e23dcd562191e102a63f83822848fa5a3a68ea
tree8a9f89a9deaf194063233aa31d1d391c749f89d7
parentf359ba2fa911fd73bb5d22592c695ed5ab497b0e
re PR debug/89006 (New note: non-delegitimized UNSPEC UNSPEC_SET_GOT (14) found in variable location since r267638)

PR debug/89006
* config/i386/i386.c (ix86_pic_register_p): Return true for
UNSPEC_SET_GOT too.

* g++.dg/debug/pr89006.C: New test.

From-SVN: r268248
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr89006.C [new file with mode: 0644]