Re: [committed] fix another ICE in MEM_REF formatting (PR 98578)

2021-01-07 Thread Martin Sebor via Gcc-patches
On 1/7/21 2:37 PM, Jakub Jelinek wrote: On Thu, Jan 07, 2021 at 02:29:50PM -0700, Martin Sebor via Gcc-patches wrote: --- a/gcc/c-family/c-pretty-print.c +++ b/gcc/c-family/c-pretty-print.c @@ -1844,22 +1844,25 @@ print_mem_ref (c_pretty_printer *pp, tree e) } } - const tree

Re: [committed] fix another ICE in MEM_REF formatting (PR 98578)

2021-01-07 Thread Jakub Jelinek via Gcc-patches
On Thu, Jan 07, 2021 at 02:29:50PM -0700, Martin Sebor via Gcc-patches wrote: > --- a/gcc/c-family/c-pretty-print.c > +++ b/gcc/c-family/c-pretty-print.c > @@ -1844,22 +1844,25 @@ print_mem_ref (c_pretty_printer *pp, tree e) > } > } > > - const tree access_type = TREE_TYPE (e); > +

[committed] fix another ICE in MEM_REF formatting (PR 98578)

2021-01-07 Thread Martin Sebor via Gcc-patches
Fixing the ICE in MEM_REF formatting (or the enhancements that came along with the fix) introduced another, ICE plus a plugin test failure. I have committed the attached simple patch to fix both. Martin PS There are outstanding bugs to fix/improvements to be made to the MEM_REF formatting