[PATCH][PR64971]Convert function pointer to Pmode when emit call.
authorRenlin Li <renlin.li@arm.com>
Tue, 9 Aug 2016 17:20:14 +0000 (17:20 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Tue, 9 Aug 2016 17:20:14 +0000 (17:20 +0000)
commit408702b44570a4c92e4f9d05cd97f98cf12a4eb4
treecf4bf4eff74b4d63228faeb3496ff8880b11304d
parentd676d623eb1e2aabcb2d3c10574a1c240083a22a
[PATCH][PR64971]Convert function pointer to Pmode when emit call.

gcc/

2016-08-04  Renlin Li  <renlin.li@arm.com>

PR middle-end/64971
* calls.c (prepare_call_address): Convert funexp to Pmode when
necessary.
* config/aarch64/aarch64.md (sibcall): Remove fix for PR 64971.
(sibcall_value): Likewise.

From-SVN: r239300
gcc/ChangeLog
gcc/calls.c
gcc/config/aarch64/aarch64.md