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]

Remove warning in cp/optimize.c



I got the following warning on the mainline branch (I should get the
same on the release branch but didn't test yet):

../../gcc/cp/optimize.c:936: warning: implicit declaration of function `note_deferral_of_defined_inline_function'

Ok to commit to both branches?

The change bootstrapped successfully on i686-linux,
Andreas

2001-02-22  Andreas Jaeger  <aj@suse.de>

	* optimize.c: Include toplev.h for
	note_deferral_of_defined_inline_function prototype.

============================================================
Index: gcc/cp/optimize.c
--- gcc/cp/optimize.c	2001/02/21 14:42:27	1.56
+++ gcc/cp/optimize.c	2001/02/22 09:32:12
@@ -27,6 +27,7 @@
 #include "insn-config.h"
 #include "input.h"
 #include "integrate.h"
+#include "toplev.h"
 #include "varray.h"
 
 /* To Do:

-- 
 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]