summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-18 23:58:00 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-18 23:58:00 +0000
commitd3cdd238bae5814e5ecf3d13f9d977f91bd7cd62 (patch)
treed31e6ae0ba5cb4b28d273c7d6d909a7b886148fb /gcc/dwarf2out.c
parent5652cbe6fae2235b7476405842ebb771a94a9b47 (diff)
downloadgcc-d3cdd238bae5814e5ecf3d13f9d977f91bd7cd62.tar.gz
* dwarf2out.c (loclabel_num): Move outside #ifdef
DWARF2_DEBUGGING_INFO and mark with GTY(()). * config/ia64/ia64.c (struct extern_func_list,extern_func_head): Mark with GTY(()). (ia64_hpux_add_extern_decl): Save the decl, not the name string. Allocate memory with ggc_alloc. No need to copy anything. (ia64_hpux_file_end): Update to match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 87f1be715b3..0bfe62c4efc 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3592,12 +3592,12 @@ static GTY(()) unsigned ranges_table_in_use;
/* Whether we have location lists that need outputting */
static GTY(()) unsigned have_location_lists;
+/* Unique label counter. */
+static GTY(()) unsigned int loclabel_num;
+
#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;