OSDN Git Service

* dwarf2out.c (current_funcdef_number): Move outside dwarf2
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 May 2001 23:30:51 +0000 (23:30 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 May 2001 23:30:51 +0000 (23:30 +0000)
        conditional ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42411 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 8b5df1c..79c18bf 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-21  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (current_funcdef_number): Move outside dwarf2
+       conditional ifdef.
+
 2001-05-21  Geoff Keating  <geoffk@redhat.com>
 
        * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
index 8ae48cb..b02109e 100644 (file)
@@ -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