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