* dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
on platforms that don't use dwarf for debug info.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r116903
+2006-09-12 Andrew Pinski <pinskia@physics.uc.edu>
+ Roger Sayle <roger@eyesopen.com>
+
+ * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
+ outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
+ on platforms that don't use dwarf for debug info.
+
2006-09-12 Jason Merrill <jason@redhat.com>
PR middle-end/28493
/* Number of internal labels generated by gen_internal_sym(). */
static GTY(()) int label_num;
+/* Cached result of previous call to lookup_filename. */
+static GTY(()) struct dwarf_file_data * file_table_last_lookup;
+
#ifdef DWARF2_DEBUGGING_INFO
/* Offset from the "steady-state frame pointer" to the frame base,
the index of the filename was looked up last. This handles the majority of
all searches. */
-static GTY(()) struct dwarf_file_data * file_table_last_lookup;
-
static struct dwarf_file_data *
lookup_filename (const char *file_name)
{