Commit 022d11a3 by Richard Sandiford

Revert accidental commit

From-SVN: r279570
parent ed0eca5e
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment