Revert accidental commit

From-SVN: r279570
This commit is contained in:
Richard Sandiford 2019-12-19 13:24:04 +00:00
parent ed0eca5e63
commit 022d11a3b5
2 changed files with 0 additions and 10 deletions

View 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

View 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);