Message ID | 54ECF7D7.3070109@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 67c5ae7..0c1d54a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -13723,6 +13723,7 @@ start_preparsed_function (tree decl1, tree attrs, int flags) { cdtor_label = build_decl (input_location, LABEL_DECL, NULL_TREE, void_type_node); + DECL_ARTIFICIAL (cdtor_label) = 1; DECL_CONTEXT (cdtor_label) = current_function_decl; }