diff options
author | kan <kan@FreeBSD.org> | 2002-09-17 04:16:58 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-09-17 04:16:58 +0000 |
commit | b804ce4fd3f27e7a3151d8b2195a13e05b772f87 (patch) | |
tree | 25ee5c7cc9a720e6742baf798e5fc21b48ce579d /contrib | |
parent | 35e670d11ce06ee784863a0b2e9df5372e2076f2 (diff) | |
download | FreeBSD-src-b804ce4fd3f27e7a3151d8b2195a13e05b772f87.zip FreeBSD-src-b804ce4fd3f27e7a3151d8b2195a13e05b772f87.tar.gz |
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8 printf format error fixes
Approved by: obrien
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/cp/decl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/cp/decl.c b/contrib/gcc/cp/decl.c index 6cb00b5..657e844 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 (); |