This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 28/11/12 04:49, Andrew Pinski wrote:
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


Not to mention the ChangeLog entry.


R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]