From 022d11a3b58900556b9d2c2336cc3cf1f996b182 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 19 Dec 2019 13:24:04 +0000 Subject: [PATCH] Revert accidental commit From-SVN: r279570 --- gcc/cp/ChangeLog | 5 ----- gcc/cp/mangle.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e66f1e0776a..19e1b881e2d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,8 +1,3 @@ -2019-12-19 Richard Sandiford - - * mangle.c (write_CV_qualifiers_for_type): Don't mangle attributes - that contain a space. - 2019-12-18 Jason Merrill PR c++/91165 follow-on tweak diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index b13af39b2e7..88c5fa2c622 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); -- 2.30.2