This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove warning in cp/optimize.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Remove warning in cp/optimize.c
- From: Andreas Jaeger <aj at suse dot de>
- Date: 22 Feb 2001 11:29:59 +0100
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