aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-16 15:37:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-16 15:37:57 +0000
commitc1b50e4978a214de1df4b7f61395bee83a924426 (patch)
tree8e1daad7c2e283ef9a752a13edb569be18027b32 /gcc/dbxout.c
parent93d8c755c1c1ff211f75564b877a490e2df70384 (diff)
downloadgcc-c1b50e4978a214de1df4b7f61395bee83a924426.zip
gcc-c1b50e4978a214de1df4b7f61395bee83a924426.tar.gz
gcc-c1b50e4978a214de1df4b7f61395bee83a924426.tar.bz2
dbxout.c (lastfile, cwd): Fix `unused' warning.
* dbxout.c (lastfile, cwd): Fix `unused' warning. * dwarf2out.c (fde_table_in_use, current_funcdef_fde, dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset, is_main_source, file_table, decl_die_table_in_use, abbrev_die_table_in_use, line_info_table_in_use, separate_line_info_table_in_use, pubname_table_in_use, arange_table_in_use, ranges_table_in_use, current_function_has_inlines): Likewise. * flow.c (life_analysis): Likewise. * genemit.c (gen_insn): Likewise. * protoize.c (cplus_suffix): Likewise. From-SVN: r61392
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 480ef82..468ee09 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -137,14 +137,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define STABS_GCC_MARKER "gcc2_compiled."
#endif
-/* Last source file name mentioned in a NOTE insn. */
-
-static const char *lastfile;
-
-/* Current working directory. */
-
-static const char *cwd;
-
enum typestatus {TYPE_UNSEEN, TYPE_XREF, TYPE_DEFINED};
/* Structure recording information about a C data type.
@@ -202,6 +194,14 @@ static GTY(()) int next_file_number;
#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
+/* Last source file name mentioned in a NOTE insn. */
+
+static const char *lastfile;
+
+/* Current working directory. */
+
+static const char *cwd;
+
/* Nonzero if we have actually used any of the GDB extensions
to the debugging format. The idea is that we use them for the
first time only if there's a strong reason, but once we have done that,