+2018-06-22 Jan Hubicka <hubicka@ucw.cz>
+
+ * tree.c (free_lang_data_in_type): Free all TYPE_VFIELDs.
+
2018-06-22 Martin Liska <mliska@suse.cz>
* symbol-summary.h (get): Make it pure and inline move
else
*prev = DECL_CHAIN (member);
- /* FIXME: C FE uses TYPE_VFIELD to record C_TYPE_INCOMPLETE_VARS
- and danagle the pointer from time to time. */
- if (TYPE_VFIELD (type) && TREE_CODE (TYPE_VFIELD (type)) != FIELD_DECL)
- TYPE_VFIELD (type) = NULL_TREE;
+ TYPE_VFIELD (type) = NULL_TREE;
if (TYPE_BINFO (type))
{