[Patch] [aarch64] Fix asm-subreg-1.c ICE

Andrew Pinski andrew.pinski@caviumnetworks.com
Wed Nov 28 04:49:00 GMT 2012


On Tue, Nov 27, 2012 at 8:47 PM, Hurugalawadi, Naveen
<Naveen.Hurugalawadi@caviumnetworks.com> wrote:
> Hi,
>
> Please find attached the patch “asm-subreg.patch” for aarch64 which
> fixes ICE for /gcc.dg/torture/asm-subreg-1.c testcase.
>
> The error was the result of reload problems in
> “aarch64_load_symref_appropriately” function.
>
> The higher part of symbol_ref moved to temporary RTX “tmp_reg” does
> not contain the exact value. The dumps showed that (CONST_INT 0) is
> moved into the temporary RTX.
> When the higher part of symbol_ref was added with the temporary rtx
> and moved into the “dest”, it seg faults due to reload issues.
>
> Hence, the transfer of symbol_ref is handled slightly in a modified
> manner which fixes the ICE.
> Please review the patch and let me know your comments on the same.

You forgot to attach the patch.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list