summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-02-07 02:41:37 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-02-06 18:41:37 -0800
commitb105316055e04324bb2b77497482859ae81367ba (patch)
treeea39870ddd7a1fa7bb09c675e5877e3911e78c17 /gcc/dwarf2out.c
parentf970e7c9c9447b1c6c5839203ab658bb018aea99 (diff)
downloadgcc-b105316055e04324bb2b77497482859ae81367ba.tar.gz
dwarf2out.c (loclabel_num): Move into #ifdef DWARF2_DEBUGGING_INFO.
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu> * dwarf2out.c (loclabel_num): Move into #ifdef DWARF2_DEBUGGING_INFO. From-SVN: r77438
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;