This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix warning in rtlanal.c



Bootstrapping on i686-linux I got:

/cvs/gcc/gcc/rtlanal.c:2841: warning: implicit declaration of function `ix86_function_arg_regno_p'

The appended patch fixes this.  Ok to commit?

Bootstrapped/regtested on i686-linux,
Andreas

2001-10-19  Andreas Jaeger  <aj@suse.de>

	* Makefile.in (rtlanal.o): Depend on TM_P_H.

	* rtlanal.c: Include "tm_p.h" for ix86_function_arg_regno_p.

============================================================
Index: gcc/rtlanal.c
--- gcc/rtlanal.c	2001/10/11 03:51:24	1.112
+++ gcc/rtlanal.c	2001/10/19 11:24:04
@@ -25,6 +25,7 @@
 #include "toplev.h"
 #include "rtl.h"
 #include "hard-reg-set.h"
+#include "tm_p.h"
 
 /* Forward declarations */
 static void set_of_1		PARAMS ((rtx, rtx, void *));
============================================================
Index: gcc/Makefile.in
--- gcc/Makefile.in	2001/10/17 09:31:34	1.752
+++ gcc/Makefile.in	2001/10/19 11:24:07
@@ -1385,7 +1385,8 @@
     hard-reg-set.h $(BASIC_BLOCK_H)
 	$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
 
-rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) hard-reg-set.h
+rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) \
+	hard-reg-set.h $(TM_P_H)
 errors.o : errors.c $(GCONFIG_H) $(SYSTEM_H) errors.h
 	$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]