diff options
author | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-12-19 13:24:04 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-12-19 13:24:04 +0000 |
commit | 022d11a3b58900556b9d2c2336cc3cf1f996b182 (patch) | |
tree | 1ef1cdb99ab2aedfbfc12c8c9dde9848124c7249 | |
parent | ed0eca5e631a1652c42a7f91b6c557aea887e1ce (diff) | |
download | gcc-022d11a3b58900556b9d2c2336cc3cf1f996b182.zip gcc-022d11a3b58900556b9d2c2336cc3cf1f996b182.tar.gz gcc-022d11a3b58900556b9d2c2336cc3cf1f996b182.tar.bz2 |
Revert accidental commit
From-SVN: r279570
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/mangle.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e66f1e0..19e1b88 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,8 +1,3 @@ -2019-12-19 Richard Sandiford <richard.sandiford@arm.com> - - * mangle.c (write_CV_qualifiers_for_type): Don't mangle attributes - that contain a space. - 2019-12-18 Jason Merrill <jason@redhat.com> PR c++/91165 follow-on tweak diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index b13af39..88c5fa2 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2377,11 +2377,6 @@ write_CV_qualifiers_for_type (const tree type) tree name = get_attribute_name (a); const attribute_spec *as = lookup_attribute_spec (name); if (as && as->affects_type_identity - /* Skip internal-only attributes, which are distinguished from - others by having a space. At present, all internal-only - attributes that affect type identity are target-specific - and are handled by targetm.mangle_type instead. */ - && !strchr (IDENTIFIER_POINTER (name), ' ') && !is_attribute_p ("transaction_safe", name) && !is_attribute_p ("abi_tag", name)) vec.safe_push (a); |