diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-04-29 09:07:30 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-04-29 09:07:30 +0200 |
commit | cde4353e58410cef404df066a059cd548f702055 (patch) | |
tree | 83a7028e148c563e68d3d6b12477e2fc22ce2090 /gcc/config/ia64 | |
parent | 575ac27fd5f18ffc9cfce8a99e987f52c5b898c9 (diff) | |
download | gcc-cde4353e58410cef404df066a059cd548f702055.zip gcc-cde4353e58410cef404df066a059cd548f702055.tar.gz gcc-cde4353e58410cef404df066a059cd548f702055.tar.bz2 |
ia64: Adjust the C++14 vs. C++17 ABI thing for [[no_unique_address]] too [PR94706]
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.
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 4b7bf69..7075d6a 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -4665,7 +4665,7 @@ hfa_element_mode (const_tree type, bool nested) 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); |