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

Jason Merrill jason@redhat.com
Fri Mar 20 14:45:00 GMT 2015


On 03/20/2015 08:59 AM, Richard Biener wrote:
> Hum... variant types should have the same TYPE_FIELDs as the main variant.
> So why's the variants TYPE_FIELDS NULL?

Because we're in the middle of parsing the class, so we haven't called 
fixup_type_variants to copy TYPE_FIELDS yet.

The patch is OK.

Jason




More information about the Gcc-patches mailing list