Re: [PATCH] i386: Replace frame pointer with stack pointer in debug insns

2017-08-13 Thread Uros Bizjak
On Sun, Aug 13, 2017 at 7:35 PM, H.J. Lu wrote: > On Sun, Aug 13, 2017 at 9:15 AM, Uros Bizjak wrote: >> On Sat, Aug 12, 2017 at 3:32 AM, H.J. Lu wrote: >>> When we eliminate frame pointer, we should also replace frame pointer >>> with stack pointer - UNITS_PER_WORD in debug insns. This patch f

Re: [PATCH] i386: Replace frame pointer with stack pointer in debug insns

2017-08-13 Thread H.J. Lu
On Sun, Aug 13, 2017 at 9:15 AM, Uros Bizjak wrote: > On Sat, Aug 12, 2017 at 3:32 AM, H.J. Lu wrote: >> When we eliminate frame pointer, we should also replace frame pointer >> with stack pointer - UNITS_PER_WORD in debug insns. This patch fixed: >> >> FAIL: gcc.dg/guality/pr58791-5.c -Os li

Re: [PATCH] i386: Replace frame pointer with stack pointer in debug insns

2017-08-13 Thread Uros Bizjak
On Sat, Aug 12, 2017 at 3:32 AM, H.J. Lu wrote: > When we eliminate frame pointer, we should also replace frame pointer > with stack pointer - UNITS_PER_WORD in debug insns. This patch fixed: > > FAIL: gcc.dg/guality/pr58791-5.c -Os line pr58791-5.c:20 b1 == 9 > FAIL: gcc.dg/guality/pr58791-5.

Re: [PATCH] i386: Replace frame pointer with stack pointer in debug insns

2017-08-12 Thread Uros Bizjak
On Sat, Aug 12, 2017 at 3:32 AM, H.J. Lu wrote: > When we eliminate frame pointer, we should also replace frame pointer > with stack pointer - UNITS_PER_WORD in debug insns. This patch fixed: > > FAIL: gcc.dg/guality/pr58791-5.c -Os line pr58791-5.c:20 b1 == 9 > FAIL: gcc.dg/guality/pr58791-5.