This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix debug ICE on aarch64 due to bad rtl simplification (PR debug/70628)
- From: Andreas Schwab <schwab at suse dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Bernd Schmidt <bschmidt at redhat dot com>, Jeff Law <law at redhat dot com>, Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Date: Wed, 13 Apr 2016 10:09:02 +0200
- Subject: Re: [PATCH] Fix debug ICE on aarch64 due to bad rtl simplification (PR debug/70628)
- Authentication-results: sourceware.org; auth=none
- References: <20160412151011 dot GW19207 at tucnak dot redhat dot com> <570D544A dot 6080101 at redhat dot com> <20160412200651 dot GH19207 at tucnak dot redhat dot com> <570D5719 dot 6060308 at redhat dot com> <20160412203403 dot GJ19207 at tucnak dot redhat dot com>
Jakub Jelinek <jakub@redhat.com> writes:
> So here is what I'll throw at testing:
>
> 2016-04-12 Jakub Jelinek <jakub@redhat.com>
>
> PR debug/70628
> * rtl.h (convert_memory_address_addr_space_1): New prototype.
> * explow.c (convert_memory_address_addr_space_1): No longer static,
> add NO_EMIT argument and don't call convert_modes if true, pass
> it down recursively, remove break after return.
> (convert_memory_address_addr_space): Adjust caller.
> * simplify-rtx.c (simplify_unary_operation_1): Call
> convert_memory_address_addr_space_1 instead of convert_memory_address,
> if it returns NULL, don't simplify.
I have successfully bootstrapped it on ILP32 and verified that it fixes
the ICE.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."