[PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-22 Thread Martin Sebor via Gcc-patches
The attached fix parallels the one for the equivalent C bug 95580 where the pretty printers don't correctly handle MEM_REF arguments with type void* or other pointers to an incomplete type. The incorrect handling was exposed by the recent change to -Wuninitialized which includes such expressions

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-07-09 Thread Martin Sebor via Gcc-patches
On 6/29/20 1:19 AM, Richard Biener wrote: On Mon, Jun 29, 2020 at 1:08 AM Martin Sebor wrote: On 6/23/20 1:12 AM, Richard Biener wrote: On Tue, Jun 23, 2020 at 12:22 AM Martin Sebor via Gcc-patches wrote: On 6/22/20 12:55 PM, Jason Merrill wrote: On 6/22/20 1:25 PM, Martin Sebor wrote: T

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-22 Thread Jason Merrill via Gcc-patches
On 6/22/20 1:25 PM, Martin Sebor wrote: The attached fix parallels the one for the equivalent C bug 95580 where the pretty printers don't correctly handle MEM_REF arguments with type void* or other pointers to an incomplete type. The incorrect handling was exposed by the recent change to -Wunini

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-22 Thread Martin Sebor via Gcc-patches
On 6/22/20 12:55 PM, Jason Merrill wrote: On 6/22/20 1:25 PM, Martin Sebor wrote: The attached fix parallels the one for the equivalent C bug 95580 where the pretty printers don't correctly handle MEM_REF arguments with type void* or other pointers to an incomplete type. The incorrect handling

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-23 Thread Richard Biener via Gcc-patches
On Tue, Jun 23, 2020 at 12:22 AM Martin Sebor via Gcc-patches wrote: > > On 6/22/20 12:55 PM, Jason Merrill wrote: > > On 6/22/20 1:25 PM, Martin Sebor wrote: > >> The attached fix parallels the one for the equivalent C bug 95580 > >> where the pretty printers don't correctly handle MEM_REF argume

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-28 Thread Martin Sebor via Gcc-patches
On 6/23/20 1:12 AM, Richard Biener wrote: On Tue, Jun 23, 2020 at 12:22 AM Martin Sebor via Gcc-patches wrote: On 6/22/20 12:55 PM, Jason Merrill wrote: On 6/22/20 1:25 PM, Martin Sebor wrote: The attached fix parallels the one for the equivalent C bug 95580 where the pretty printers don't c

Re: [PATCH] handle MEM_REF with void* arguments (PR c++/95768)

2020-06-29 Thread Richard Biener via Gcc-patches
On Mon, Jun 29, 2020 at 1:08 AM Martin Sebor wrote: > > On 6/23/20 1:12 AM, Richard Biener wrote: > > On Tue, Jun 23, 2020 at 12:22 AM Martin Sebor via Gcc-patches > > wrote: > >> > >> On 6/22/20 12:55 PM, Jason Merrill wrote: > >>> On 6/22/20 1:25 PM, Martin Sebor wrote: > The attached fix