aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-07-15 16:50:41 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-07-15 12:50:41 -0400
commit135d50f10fe27b77c879038d7adff5724ece1988 (patch)
treee485f176d4023eda35351327c1ff8b699943d130 /gcc
parentb762a0ef44e1be8bb7b768e19bba5f8e6de274a8 (diff)
downloadgcc-135d50f10fe27b77c879038d7adff5724ece1988.zip
gcc-135d50f10fe27b77c879038d7adff5724ece1988.tar.gz
gcc-135d50f10fe27b77c879038d7adff5724ece1988.tar.bz2
Makefile.in (integrate.o): Add debug.h.
* Makefile.in (integrate.o): Add debug.h. * integrate.c (debug.h): Add. (output_inline_function): Save, reset, and restore debug_hooks. From-SVN: r44026
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/integrate.c8
3 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ff9680..0246e85a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * Makefile.in (integrate.o): Add debug.h.
+ * integrate.c (debug.h): Add.
+ (output_inline_function): Save, reset, and restore debug_hooks.
+
2001-07-15 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index a03f77f..4fcba9b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1417,7 +1417,7 @@ emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
$(HASHTAB_H) $(TM_P_H)
real.o : real.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h $(TM_P_H)
integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
- $(INTEGRATE_H) insn-config.h $(EXPR_H) real.h $(REGS_H) \
+ debug.h $(INTEGRATE_H) insn-config.h $(EXPR_H) real.h $(REGS_H) \
intl.h function.h output.h $(RECOG_H) except.h toplev.h $(LOOP_H) \
$(PARAMS_H) $(TM_P_H)
jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 88b8c9f..bcb65e8 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "tm_p.h"
#include "regs.h"
#include "flags.h"
+#include "debug.h"
#include "insn-config.h"
#include "expr.h"
#include "output.h"
@@ -2866,6 +2867,7 @@ output_inline_function (fndecl)
{
struct function *old_cfun = cfun;
enum debug_info_type old_write_symbols = write_symbols;
+ struct debug_hooks *old_debug_hooks = debug_hooks;
struct function *f = DECL_SAVED_INSNS (fndecl);
cfun = f;
@@ -2879,7 +2881,10 @@ output_inline_function (fndecl)
/* If requested, suppress debugging information. */
if (f->no_debugging_symbols)
- write_symbols = NO_DEBUG;
+ {
+ write_symbols = NO_DEBUG;
+ debug_hooks = &do_nothing_debug_hooks;
+ }
/* Do any preparation, such as emitting abstract debug info for the inline
before it gets mangled by optimization. */
@@ -2895,6 +2900,7 @@ output_inline_function (fndecl)
cfun = old_cfun;
current_function_decl = old_cfun ? old_cfun->decl : 0;
write_symbols = old_write_symbols;
+ debug_hooks = old_debug_hooks;
}