From 0861bec80a0d8ff9aae4ed031e7f6869d37a3af2 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 3 Apr 2013 20:14:00 -0400 Subject: cp-demangle.c (cplus_demangle_type): Fix function quals. libiberty/ * cp-demangle.c (cplus_demangle_type): Fix function quals. (d_pointer_to_member_type): Simplify. gcc/cp/ * mangle.c (write_type): When writing a function type with function-cv-quals, don't add the unqualified type as a substitution candidate. From-SVN: r197460 --- gcc/common.opt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/common.opt') diff --git a/gcc/common.opt b/gcc/common.opt index bdbd3b6c..e02e7ed 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -792,6 +792,11 @@ Driver Undocumented ; 7: The version of the ABI that treats nullptr_t as a builtin type and ; corrects the mangling of lambdas in default argument scope. ; First selectable in G++ 4.8. +; +; 8: The version of the ABI that corrects the substitution behavior of +; function types with function-cv-qualifiers. +; First selectable in G++ 4.9. +; ; Additional positive integers will be assigned as new versions of ; the ABI become the default version of the ABI. fabi-version= -- cgit v1.1