Fix warnings in integrate.c
Andreas Jaeger
aj@suse.de
Tue Jul 17 05:52:00 GMT 2001
The appended patch fixes these two warnings:
/cvs/gcc/gcc/integrate.c:2871: warning: initialization from incompatible pointer type
/cvs/gcc/gcc/integrate.c:2904: warning: assignment from incompatible pointer type
Bootstrapped on i686-linux.
Ok to commit?
Andreas
2001-07-17 Andreas Jaeger <aj@suse.de>
* integrate.c (output_inline_function): Correct type of debug_hooks.
============================================================
Index: gcc/integrate.c
--- gcc/integrate.c 2001/07/16 20:54:43 1.151
+++ gcc/integrate.c 2001/07/17 12:20:49
@@ -2868,7 +2868,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 gcc_debug_hooks *old_debug_hooks = debug_hooks;
struct function *f = DECL_SAVED_INSNS (fndecl);
cfun = f;
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gcc-patches
mailing list