* dwarf2out.c (lookup_filename): Call maybe_emit_file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99170
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-05-03 James E Wilson <wilson@specifixinc.com>
+
+ * dwarf2out.c (lookup_filename): Call maybe_emit_file.
+
2005-05-03 DJ Delorie <dj@redhat.com>
* c-decl.c (store_parm_decls_oldstyle): Let diagnostic machinery
VARRAY_PUSH_CHAR_PTR (file_table, save_file_name);
VARRAY_PUSH_UINT (file_table_emitted, 0);
+ /* If the assembler is emitting the file table, and we aren't eliminating
+ unused debug types, then we must emit .file here. If we are eliminating
+ unused debug types, then this will be done by the maybe_emit_file call in
+ prune_unused_types_walk_attribs. */
+
+ if (DWARF2_ASM_LINE_DEBUG_INFO && ! flag_eliminate_unused_debug_types)
+ maybe_emit_file (i);
+
return i;
}