diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bfcf1fb1bac..40329079821 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-06 Andrew Pinski <pinskia@physics.uc.edu> + + * dwarf2out.c (loclabel_num): Move into #ifdef + DWARF2_DEBUGGING_INFO. + 2004-02-06 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (build_super_template) the 'class' field of diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index b35b5ea8ea8..4e310b2a28a 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3501,8 +3501,6 @@ struct var_loc_list_def GTY (()) }; typedef struct var_loc_list_def var_loc_list; -/* Unique label counter. */ -static unsigned int loclabel_num = 0; /* Table of decl location linked lists. */ static GTY ((param_is (var_loc_list))) htab_t decl_loc_table; @@ -3595,6 +3593,9 @@ static GTY(()) unsigned have_location_lists; #ifdef DWARF2_DEBUGGING_INFO /* Record whether the function being analyzed contains inlined functions. */ static int current_function_has_inlines; + +/* Unique label counter. */ +static unsigned int loclabel_num = 0; #endif #if 0 && defined (MIPS_DEBUGGING_INFO) static int comp_unit_has_inlines; |