[PATCH] Fix PR50040

Jason Merrill jason@redhat.com
Thu Aug 11 14:30:00 GMT 2011


On 08/11/2011 08:57 AM, Richard Guenther wrote:
> Any idea why the C++ FE prints that funny setbuf.a::mode instead
> of simply setbuf.mode for g++.dg/warn/unit-1.C!?

Because by the time we're printing the FIELD_DECL, we've forgotten that 
we're in a COMPONENT_REF context.  We could do better, but it doesn't 
seem that important.

> The latter is what debug_generic_expr dumps.

That's fine too.

Jason



More information about the Gcc-patches mailing list