Don't check ifunc_resolver on error
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 26 May 2018 11:35:31 +0000 (11:35 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 26 May 2018 11:35:31 +0000 (04:35 -0700)
commitcf3a2c1ac3f7da9efe7f46e6af764f909dc68719
tree81e9396598acd173c142182d7f93d2d5a0be467b
parent442849834153349b690041dfdfa81cadae20faa6
Don't check ifunc_resolver on error

Since ifunc_resolver isn't set when an error is detected, we should
lookup ifunc attribute in this case.

PR target/85900
PR target/85345
* varasm.c (assemble_alias): Lookup ifunc attribute on error.

From-SVN: r260792
gcc/ChangeLog
gcc/varasm.c