summaryrefslogtreecommitdiff
path: root/gcc/cp/mangle.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-01 17:59:25 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-01 17:59:25 +0000
commit42af8c2ad26601793b2e22e9592458feb92bd2e4 (patch)
treeff23f8aab5d68af99bd88e7c3a017c0b99a60a5a /gcc/cp/mangle.c
parent834409abb31543f669540be8f5a47f0d95969b5e (diff)
downloadgcc-42af8c2ad26601793b2e22e9592458feb92bd2e4.tar.gz
gcc/c-family/
* c-opts.c (c_common_post_options): Highest ABI level is now 10. gcc/cp/ * mangle.c (write_CV_qualifiers_for_type, write_nested_name): Attribute mangling is now -fabi-version=10. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r--gcc/cp/mangle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 6246632710f..cf260c419e1 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -984,7 +984,7 @@ write_nested_name (const tree decl)
write_template_prefix (decl);
write_template_args (TI_ARGS (template_info));
}
- else if ((!abi_version_at_least (9) || TREE_CODE (decl) == TYPE_DECL)
+ else if ((!abi_version_at_least (10) || TREE_CODE (decl) == TYPE_DECL)
&& TREE_CODE (TREE_TYPE (decl)) == TYPENAME_TYPE)
{
tree name = TYPENAME_TYPE_FULLNAME (TREE_TYPE (decl));
@@ -2196,7 +2196,7 @@ write_CV_qualifiers_for_type (const tree type)
We don't do this with classes and enums because their attributes
are part of their definitions, not something added on. */
- if (abi_version_at_least (9) && !OVERLOAD_TYPE_P (type))
+ if (abi_version_at_least (10) && !OVERLOAD_TYPE_P (type))
{
auto_vec<tree> vec;
for (tree a = TYPE_ATTRIBUTES (type); a; a = TREE_CHAIN (a))
@@ -2230,7 +2230,7 @@ write_CV_qualifiers_for_type (const tree type)
}
++num_qualifiers;
- if (abi_version_crosses (9))
+ if (abi_version_crosses (10))
G.need_abi_warning = true;
}
}