Re: [PATCH] DWARF: Allow hard frame pointer even if frame pointer isn't used

2018-09-04 Thread Jason Merrill
OK. On Tue, Sep 4, 2018 at 11:13 AM, H.J. Lu wrote: > On Mon, Sep 3, 2018 at 10:01 AM, H.J. Lu wrote: >> On Mon, Sep 3, 2018 at 9:44 AM, Michael Matz wrote: >>> Hi, >>> >>> On Mon, 3 Sep 2018, H.J. Lu wrote: >>> > So, what's the testcase testing then? Before the patch it doesn't ICE,

[PATCH] DWARF: Allow hard frame pointer even if frame pointer isn't used

2018-09-04 Thread H.J. Lu
: stack_pointer_rtx)); > > should be changed to > > gcc_assert (elim == hard_frame_pointer_rtx > || elim == stack_pointer_rtx); > > This will also fix: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86593 > Since hard