dbxout.c (dbxout_block): Move declaration within the first #if defined (DBX_DEBUGGING...
authorOlivier Hainque <hainque@adacore.com>
Fri, 31 Aug 2007 07:02:43 +0000 (07:02 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Fri, 31 Aug 2007 07:02:43 +0000 (07:02 +0000)
2007-08-31  Olivier Hainque  <hainque@adacore.com>

* dbxout.c (dbxout_block): Move declaration within the first
#if defined (DBX_DEBUGGING_INFO) block.  Rearrange another such
block to include the definition, together with the associated
helpers.

From-SVN: r127955

gcc/ChangeLog
gcc/dbxout.c

index 483728dd3e64cf4a3ea1d82ce0db256b31c090f8..bb950e92329447a2b96c2ffd16d3428f8de574ad 100644 (file)
@@ -1,3 +1,10 @@
+2007-08-31  Olivier Hainque  <hainque@adacore.com>
+
+       * dbxout.c (dbxout_block): Move declaration within the first
+       #if defined (DBX_DEBUGGING_INFO) block.  Rearrange another such
+       block to include the definition, together with the associated
+       helpers.
+
 2007-08-31  David Edelsohn  <edelsohn@gnu.org>
             Revital Eres  <eres@il.ibm.com>
 
index 1d47eed872494f1bb03f45f57411677c0b01d444..2494eda46beae93d4f694d0ed5a3aa21ac96e605 100644 (file)
@@ -326,7 +326,6 @@ static void dbxout_type_name (tree);
 static void dbxout_class_name_qualifiers (tree);
 static int dbxout_symbol_location (tree, tree, const char *, rtx);
 static void dbxout_symbol_name (tree, const char *, int);
-static void dbxout_block (tree, int, tree);
 static void dbxout_global_decl (tree);
 static void dbxout_type_decl (tree, int);
 static void dbxout_handle_pch (unsigned);
@@ -1215,6 +1214,9 @@ dbxout_handle_pch (unsigned at_end)
 }
 
 #if defined (DBX_DEBUGGING_INFO)
+
+static void dbxout_block (tree, int, tree);
+
 /* Output debugging info to FILE to switch to sourcefile FILENAME.  */
 
 static void
@@ -3343,6 +3345,8 @@ dbxout_args (tree args)
     }
 }
 \f
+#if defined (DBX_DEBUGGING_INFO)
+
 /* Subroutine of dbxout_block.  Emit an N_LBRAC stab referencing LABEL.
    BEGIN_LABEL is the name of the beginning of the function, which may
    be required.  */
@@ -3473,7 +3477,6 @@ dbxout_block (tree block, int depth, tree args)
    Usually this follows the function's code,
    but on some systems, it comes before.  */
 
-#if defined (DBX_DEBUGGING_INFO)
 static void
 dbxout_begin_function (tree decl)
 {