Re: Tighten use of HARD_FRAME_POINTER_REGNUM in alias.c (PR 84538)

2018-02-28 Thread Jeff Law
On 02/28/2018 10:51 AM, Richard Sandiford wrote: > RTL code needs to be consistent about whether it uses the stack > pointer, the frame pointer or the argument pointer to access a > given part of the frame. alias.c used this to divide accesses > into three independent areas. > > The problem in th

Tighten use of HARD_FRAME_POINTER_REGNUM in alias.c (PR 84538)

2018-02-28 Thread Richard Sandiford
RTL code needs to be consistent about whether it uses the stack pointer, the frame pointer or the argument pointer to access a given part of the frame. alias.c used this to divide accesses into three independent areas. The problem in the PR is that we did this for HARD_FRAME_POINTER_REGNUM even w