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 e66f1e0..19e1b88 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 b13af39..88c5fa2 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);