This patch moves some globals in c-format.c into a structure. It was bootstrapped and regtested on x86 FC 6
2007-10-12 Tom Tromey <[EMAIL PROTECTED]> * c-format.c (dollar_argument_info): New struct. (dollar_arguments_used, dollar_arguments_pointer_p, dollar_arguments_alloc, dollar_arguments_count, dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned): Remove. (init_dollar_format_checking): Add 'state' argument. (maybe_read_dollar_number): Likewise. (finish_dollar_format_checking): Likewise. (check_format_info_inner): Likewise. Renamed from check_format_info_main. (check_format_info_main): New function. -- Summary: remove globals from c-format.c Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org OtherBugsDependingO 33702 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33787