https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 34697
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34697&action=edit
Patch which I am testing right now

    Fix gcc.c-torture/compile/pr37433.c for AARCH64:ILP32.

    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.

    OK?  Bootstrapped and tested on aarch64-linux-gnu with no regressions.

    Thanks,
    Andrew Pinski

    * config/aarch64/aarch64.md (sibcall): Force operands[0]'s
    address to be DImode for ILP32.
    (sibcall_value): Likewise.

    * gcc.c-torture/compile/pr37433-1.c: New testcase.

Reply via email to