summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 02:41:37 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 02:41:37 +0000
commit2335d80316473be52fe7f685b23307f6fafbf9f7 (patch)
treeea39870ddd7a1fa7bb09c675e5877e3911e78c17 /gcc/dwarf2out.c
parent49341f28187c161e8b47043b2b56d6642fa5ce5c (diff)
downloadgcc-2335d80316473be52fe7f685b23307f6fafbf9f7.tar.gz
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
* dwarf2out.c (loclabel_num): Move into #ifdef DWARF2_DEBUGGING_INFO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c5
1 files changed, 3 insertions, 2 deletions
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;