diff options
Diffstat (limited to 'gcc/cp')
| -rw-r--r-- | gcc/cp/ChangeLog | 8 | ||||
| -rw-r--r-- | gcc/cp/Make-lang.in | 6 | ||||
| -rw-r--r-- | gcc/cp/decl2.c | 2 | ||||
| -rw-r--r-- | gcc/cp/optimize.c | 3 | ||||
| -rw-r--r-- | gcc/cp/semantics.c | 3 |
5 files changed, 15 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8d98554..0fa3fdb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,13 @@ 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> + * decl2.c: Don't include dwarfout.h and dwarf2out.h. + * optimize.c: Include debug.h. + (maybe_clone_body): Use debug hook. + * semantics.c: Include debug.h. + (expand_body): Use debug hook. + +2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> + * spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases. 2001-07-18 Mark Mitchell <mark@codesourcery.com> diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 07a2e5b..c3070b9 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -244,7 +244,7 @@ cp/decl.o: cp/decl.c $(CXX_TREE_H) flags.h cp/lex.h cp/decl.h stack.h \ output.h $(EXPR_H) except.h toplev.h hash.h $(GGC_H) $(RTL_H) \ cp/operators.def $(TM_P_H) cp/decl2.o: cp/decl2.c $(CXX_TREE_H) flags.h cp/lex.h cp/decl.h $(EXPR_H) \ - output.h except.h toplev.h dwarf2out.h dwarfout.h $(GGC_H) $(RTL_H) + output.h except.h toplev.h $(GGC_H) $(RTL_H) cp/typeck2.o: cp/typeck2.c $(CXX_TREE_H) flags.h toplev.h output.h $(TM_P_H) \ diagnostic.h cp/typeck.o: cp/typeck.c $(CXX_TREE_H) flags.h $(RTL_H) $(EXPR_H) toplev.h \ @@ -274,10 +274,10 @@ cp/error.o: cp/error.c $(CXX_TREE_H) toplev.h diagnostic.h cp/errfn.o: cp/errfn.c $(CXX_TREE_H) toplev.h cp/repo.o: cp/repo.c $(CXX_TREE_H) toplev.h $(GGC_H) diagnostic.h cp/semantics.o: cp/semantics.c $(CXX_TREE_H) cp/lex.h except.h toplev.h \ - flags.h $(GGC_H) output.h $(RTL_H) $(TIMEVAR_H) $(EXPR_H) + flags.h $(GGC_H) debug.h output.h $(RTL_H) $(TIMEVAR_H) $(EXPR_H) cp/dump.o: cp/dump.c $(CXX_TREE_H) c-dump.h cp/optimize.o: cp/optimize.c $(CXX_TREE_H) rtl.h integrate.h insn-config.h \ - input.h params.h + input.h params.h debug.h cp/mangle.o: cp/mangle.c $(CXX_TREE_H) toplev.h cp/parse.o: cp/parse.c $(CXX_TREE_H) flags.h cp/lex.h except.h output.h \ diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 5a1a1ed..5723f00 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -40,8 +40,6 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "except.h" #include "toplev.h" -#include "dwarf2out.h" -#include "dwarfout.h" #include "ggc.h" #include "timevar.h" #include "cpplib.h" diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c index 4e713c3..22e1eec 100644 --- a/gcc/cp/optimize.c +++ b/gcc/cp/optimize.c @@ -32,6 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ggc.h" #include "params.h" #include "hashtab.h" +#include "debug.h" /* To Do: @@ -1104,7 +1105,7 @@ maybe_clone_body (fn) return 0; /* Emit the DWARF1 abstract instance. */ - note_deferral_of_defined_inline_function (fn); + (*debug_hooks->deferred_inline_function) (fn); /* We know that any clones immediately follow FN in the TYPE_METHODS list. */ diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 2bb4051..94a31fb 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -37,6 +37,7 @@ #include "expr.h" #include "output.h" #include "timevar.h" +#include "debug.h" /* There routines provide a modular interface to perform many parsing operations. They may therefore be used during actual parsing, or @@ -2440,7 +2441,7 @@ expand_body (fn) we actually need to write this function out. */ defer_fn (fn); /* Let the back-end know that this funtion exists. */ - note_deferral_of_defined_inline_function (fn); + (*debug_hooks->deferred_inline_function) (fn); return; } |
