Revert accidental commit
authorRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 19 Dec 2019 13:24:04 +0000 (13:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 19 Dec 2019 13:24:04 +0000 (13:24 +0000)
From-SVN: r279570

gcc/cp/ChangeLog
gcc/cp/mangle.c

index e66f1e0776a8e59c4fff06f0a1fa533bc8007583..19e1b881e2d15c4190d74f99b070e86a9793c0d0 100644 (file)
@@ -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
index b13af39b2e72c79c9c3e22b395c803a9f1aa58f4..88c5fa2c622e419b91fe086b88215fed171840e1 100644 (file)
@@ -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);