summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2002-09-17 04:16:58 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2002-09-17 04:16:58 +0000
commitf92e37bda113decd57b0c6be1aef12e3a8ddb728 (patch)
tree25ee5c7cc9a720e6742baf798e5fc21b48ce579d
parentacfad454a62ce31b605455f0fd30ba2392e21005 (diff)
Notes
-rw-r--r--contrib/gcc/cp/decl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/cp/decl.c b/contrib/gcc/cp/decl.c
index 6cb00b5b87cd..657e84466f92 100644
--- a/contrib/gcc/cp/decl.c
+++ b/contrib/gcc/cp/decl.c
@@ -8524,6 +8524,7 @@ static tree
start_cleanup_fn ()
{
static int counter = 0;
+ int old_interface_only = interface_only;
int old_interface_unknown = interface_unknown;
char name[32];
tree parmtypes;
@@ -8535,6 +8536,7 @@ start_cleanup_fn ()
/* No need to mangle this. */
push_lang_context (lang_name_c);
+ interface_only = 0;
interface_unknown = 1;
/* Build the parameter-types. */
@@ -8576,6 +8578,7 @@ start_cleanup_fn ()
start_function (/*specs=*/NULL_TREE, fndecl, NULL_TREE, SF_PRE_PARSED);
interface_unknown = old_interface_unknown;
+ interface_only = old_interface_only;
pop_lang_context ();