On 9 February 2015 at 05:41, Andrew Pinski <pins...@gmail.com> wrote:
> The problem here is that we get a symbol_ref which is SImode but for
> the sibcall patterns we only match symbol_refs which use DImode.  I
> added a new testcase that tests the non-value sibcall pattern too.
>
> OK?  Bootstrapped and tested on aarch64-linux-gnu with no regressions.


Why are we being given an SI mode expression here, I would have
thought we should get FUNCTION_MODE or Pmode ?

Cheers
/Marcus

> Thanks,
> Andrew Pinski
>
> ChangeLog:
>
>     * config/aarch64/aarch64.md (sibcall): Force call
>     address to be DImode for ILP32.
>     (sibcall_value): Likewise.
>
> testsuite/ChangeLog:
>     * gcc.c-torture/compile/pr37433-1.c: New testcase.

Reply via email to