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: RFC/A: Stop cselib.c recording sets of the frame pointer


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


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