C++ PATCH for c++/65072 (ICE with anonymous aggregate and decltype)

Marek Polacek polacek@redhat.com
Fri Mar 20 13:40:00 GMT 2015


On Fri, Mar 20, 2015 at 01:59:14PM +0100, Richard Biener wrote:
> Hum... variant types should have the same TYPE_FIELDs as the main variant.
> So why's the variants TYPE_FIELDS NULL?

That is a good question, but unfortunately, even after hours trying to find
that out, I don't know.  I thought that when we're looking for a FIELD_DECL,
we should use the cv-unqualified type.

	Marek



More information about the Gcc-patches mailing list