This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC/A: Stop cselib.c recording sets of the frame pointer
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Wed, 22 Nov 2017 18:54:22 +0100
- Subject: Re: RFC/A: Stop cselib.c recording sets of the frame pointer
- Authentication-results: sourceware.org; auth=none
- References: <87y3myp5ot.fsf@linaro.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Nov 22, 2017 at 05:46:26PM +0000, Richard Sandiford wrote:
> 2017-11-22 Richard Sandiford <richard.sandiford@linaro.org>
>
> gcc/
> * cselib.c (expand_loc, cselib_expand_value_rtx_1): Change
> justification for checking for the stack and hard frame pointers.
> Check them by pointer rather than register number.
> (cselib_record_set): Do nothing for sets of the frame pointer.
Have you checked what effects this has on debug info (both without and with
frame pointer), say on cc1plus? var-tracking.c uses cselib heavily and such
changes could break it substantially.
Jakub