Re: [PATCH][PR64971]Convert function pointer to Pmode when emit call

2016-08-05 Thread Jeff Law
On 08/04/2016 08:32 AM, Renlin Li wrote: Hi all, In the case of PR64971 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971), the compiler ICE when compiling gcc.c-torture/compile/pr37433.c with ilp32 abi. As we know, in aarch64 ilp32, the ptr_mode is SImode while Pmode is still DImode. It mean

[PATCH][PR64971]Convert function pointer to Pmode when emit call

2016-08-04 Thread Renlin Li
Hi all, In the case of PR64971 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971), the compiler ICE when compiling gcc.c-torture/compile/pr37433.c with ilp32 abi. As we know, in aarch64 ilp32, the ptr_mode is SImode while Pmode is still DImode. It means all address should be DImode, and the