On Wed, Nov 22, 2017 at 05:46:26PM +0000, Richard Sandiford wrote:
> 2017-11-22 Richard Sandiford <[email protected]>
>
> 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