* Makefile.in (dbxout.o): Depend on ggc.h.
(dwarf2out.o): Likewise.
(xcoffout.o): Likewise.
* dbxout.c: Include ggc.h.
(dbxout_init): Register lastfile as a root.
* dwarf2out.c: Include ggc.h.
(dwarf2out_line): Register lastfile as a root.
* xcoffout.c: Include ggc.h.
(xcoffout_source_line): Register xcoff_lastfile as a root.
From-SVN: r30433
+Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.in (dbxout.o): Depend on ggc.h.
+ (dwarf2out.o): Likewise.
+ (xcoffout.o): Likewise.
+ * dbxout.c: Include ggc.h.
+ (dbxout_init): Register lastfile as a root.
+ * dwarf2out.c: Include ggc.h.
+ (dwarf2out_line): Register lastfile as a root.
+ * xcoffout.c: Include ggc.h.
+ (xcoffout_source_line): Register xcoff_lastfile as a root.
+
Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
* i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
toplev.h ggc.h
dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h $(REGS_H) \
insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h dbxout.h \
- toplev.h
+ toplev.h gcc.h
sdbout.o : sdbout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h except.h \
function.h $(EXPR_H) output.h hard-reg-set.h $(REGS_H) defaults.h real.h \
insn-config.h $(srcdir)/../include/obstack.h xcoffout.h c-pragma.h \
flags.h insn-config.h reload.h output.h defaults.h toplev.h dwarfout.h
dwarf2out.o : dwarf2out.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf2.h \
flags.h insn-config.h reload.h output.h defaults.h \
- hard-reg-set.h $(REGS_H) $(EXPR_H) toplev.h dwarf2out.h dyn-string.h
+ hard-reg-set.h $(REGS_H) $(EXPR_H) toplev.h dwarf2out.h dyn-string.h \
+ ggc.h
xcoffout.o : xcoffout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) xcoffout.h \
- flags.h toplev.h output.h dbxout.h
+ flags.h toplev.h output.h dbxout.h ggc.h
emit-rtl.o : emit-rtl.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
function.h $(REGS_H) insn-config.h $(RECOG_H) real.h ggc.h \
$(EXPR_H) $(srcdir)/../include/obstack.h hard-reg-set.h bitmap.h toplev.h
#include "dbxout.h"
#include "toplev.h"
#include "tm_p.h"
+#include "ggc.h"
#ifdef XCOFF_DEBUGGING_INFO
#include "xcoffout.h"
and output them all, except for those already output. */
dbxout_typedefs (syms);
+
+ ggc_add_string_root ((char **) &lastfile, 1);
}
/* Output any typedef names for types described by TYPE_DECLs in SYMS,
#include "dwarf2out.h"
#include "toplev.h"
#include "dyn-string.h"
+#include "ggc.h"
/* We cannot use <assert.h> in GCC source, since that would include
GCC's assert.h, which may not be compatible with the host compiler. */
/* Emit the .file and .loc directives understood by GNU as. */
if (lastfile == 0 || strcmp (filename, lastfile))
{
+ if (lastfile == 0)
+ ggc_add_string_root ((char **) &lastfile, 1);
+
fprintf (asm_out_file, "\t.file 0 \"%s\"\n", filename);
lastfile = filename;
}
#include "flags.h"
#include "toplev.h"
#include "output.h"
+#include "ggc.h"
#ifdef XCOFF_DEBUGGING_INFO
fprintf (file, "\n");
xcoff_current_include_file = filename;
}
+
+ if (!xcoff_lastfile)
+ ggc_add_root (&xcoff_lastfile, 1);
xcoff_lastfile = filename;
}