Re: [C/C++ PATCH] Fix up build of GCC 4.6 and earlier with GCC 9+ (PR c/90677, take 2)

2019-11-22 Thread Joseph Myers
On Fri, 22 Nov 2019, Jason Merrill wrote: > On 11/22/19 2:10 PM, Jakub Jelinek wrote: > > On Wed, Nov 20, 2019 at 02:01:58PM -0500, Jason Merrill wrote: > > > I would think that get_named_type should find struct or enum names that > > > have > > > been hidden by another declaration; that would

Re: [C/C++ PATCH] Fix up build of GCC 4.6 and earlier with GCC 9+ (PR c/90677, take 2)

2019-11-22 Thread Jason Merrill
On 11/22/19 2:10 PM, Jakub Jelinek wrote: On Wed, Nov 20, 2019 at 02:01:58PM -0500, Jason Merrill wrote: I would think that get_named_type should find struct or enum names that have been hidden by another declaration; that would fix this without special-casing cgraph_node. For the C++

[C/C++ PATCH] Fix up build of GCC 4.6 and earlier with GCC 9+ (PR c/90677, take 2)

2019-11-22 Thread Jakub Jelinek
On Wed, Nov 20, 2019 at 02:01:58PM -0500, Jason Merrill wrote: > I would think that get_named_type should find struct or enum names that have > been hidden by another declaration; that would fix this without > special-casing cgraph_node. For the C++ front-end, that would be > >