diff options
Diffstat (limited to 'contrib/gcc/cp/decl.c')
-rw-r--r-- | contrib/gcc/cp/decl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/cp/decl.c b/contrib/gcc/cp/decl.c index 4b6770d..6a6aedd 100644 --- a/contrib/gcc/cp/decl.c +++ b/contrib/gcc/cp/decl.c @@ -8967,9 +8967,12 @@ grokfndecl (ctype, type, declarator, orig_declarator, virtualp, flags, quals, template_count, 2 * (funcdef_flag != 0) + 4 * (friendp != 0)); + if (decl == error_mark_node) return NULL_TREE; + maybe_vlist_ctor_wrapper (decl, funcdef_flag); + if ((! TYPE_FOR_JAVA (ctype) || check_java_method (decl)) && check) { @@ -12171,6 +12174,8 @@ grok_ctor_properties (ctype, decl) parmtype = TREE_VALUE (parmtypes); } + maybe_vlist_ctor_wrapper (decl, 0); + /* [class.copy] A non-template constructor for class X is a copy constructor if |