2020-04-29 Jakub Jelinek <jakub@redhat.com>
PR target/94706
* config/ia64/ia64.c (hfa_element_mode): Use DECL_FIELD_ABI_IGNORED
instead of cxx17_empty_base_field_p.
2020-04-29 Jakub Jelinek <jakub@redhat.com>
+ PR target/94706
+ * config/ia64/ia64.c (hfa_element_mode): Use DECL_FIELD_ABI_IGNORED
+ instead of cxx17_empty_base_field_p.
+
PR target/94707
* tree-core.h (tree_decl_common): Note decl_flag_0 used for
DECL_FIELD_ABI_IGNORED.
case QUAL_UNION_TYPE:
for (t = TYPE_FIELDS (type); t; t = DECL_CHAIN (t))
{
- if (TREE_CODE (t) != FIELD_DECL || cxx17_empty_base_field_p (t))
+ if (TREE_CODE (t) != FIELD_DECL || DECL_FIELD_ABI_IGNORED (t))
continue;
mode = hfa_element_mode (TREE_TYPE (t), 1);