aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-21 16:30:51 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-05-21 16:30:51 -0700
commitb1e6ab035edd172c58ef3acb91a9b955921d13f0 (patch)
tree0e88b3dd222b90deeb10c1bd040f22a5512a4dcb /gcc/dwarf2out.c
parent075516bcc608bac306728dd6d9dc1db20645fd37 (diff)
downloadgcc-b1e6ab035edd172c58ef3acb91a9b955921d13f0.zip
gcc-b1e6ab035edd172c58ef3acb91a9b955921d13f0.tar.gz
gcc-b1e6ab035edd172c58ef3acb91a9b955921d13f0.tar.bz2
dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
* dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef. From-SVN: r42411
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 8ae48cb..b02109e 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