Merge FreeBSD modifications into gcc 3.2.1-prerelease:

1.8  printf format error fixes

Approved by:	obrien
This commit is contained in:
Alexander Kabaev 2002-09-17 04:16:58 +00:00
parent acfad454a6
commit f92e37bda1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103455

View File

@ -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 ();