From b1e6ab035edd172c58ef3acb91a9b955921d13f0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 21 May 2001 16:30:51 -0700 Subject: [PATCH] dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef. * dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef. From-SVN: r42411 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b5df1ce49c..79c18bf64ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-21 Richard Henderson + + * dwarf2out.c (current_funcdef_number): Move outside dwarf2 + conditional ifdef. + 2001-05-21 Geoff Keating * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8ae48cbfd3a..b02109eb0b1 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -92,6 +92,13 @@ dwarf2out_do_frame () ); } +/* The number of the current function definition for which debugging + information is being generated. These numbers range from 1 up to the + maximum number of function definitions contained within the current + compilation unit. These numbers are used to create unique label id's + unique to each function definition. */ +unsigned current_funcdef_number = 0; + #if defined (DWARF2_DEBUGGING_INFO) || defined (DWARF2_UNWIND_INFO) /* How to start an assembler comment. */ @@ -215,13 +222,6 @@ static unsigned fde_table_in_use; /* A list of call frame insns for the CIE. */ static dw_cfi_ref cie_cfi_head; -/* The number of the current function definition for which debugging - information is being generated. These numbers range from 1 up to the - maximum number of function definitions contained within the current - compilation unit. These numbers are used to create unique label id's - unique to each function definition. */ -unsigned current_funcdef_number = 0; - /* Some DWARF extensions (e.g., MIPS/SGI) implement a subprogram attribute that accelerates the lookup of the FDE associated with the subprogram. This variable holds the table index of the FDE -- 2.30.2