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]
Other format: [Raw text]

[FR30] Rmove compiler warning


Hello.

  This patch add #include "df.h" in fr30.c to remove compiler warning:

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -
Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -
pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style
-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I
../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/
opt/cfarm/gmp-4.2.4/include -I/opt/cfarm/mpfr-2.4.1/include -I/opt/cfarm/mpc-0.8
/include  -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I
../libdecnumber    \
                ../../gcc/gcc/config/fr30/fr30.c -o fr30.o
../../gcc/gcc/config/fr30/fr30.c: In function 'fr30_compute_frame_size':
../../gcc/gcc/config/fr30/fr30.c:242: warning: implicit declaration of function
'df_regs_ever_live_p'

  OK to install?

        * config/fr30/fr30.c: Include "df.h".


Index: gcc/config/fr30/fr30.c
===================================================================
--- gcc/config/fr30/fr30.c      (revision 166360)
+++ gcc/config/fr30/fr30.c      (working copy)
@@ -39,6 +39,7 @@
 #include "obstack.h"
 #include "except.h"
 #include "function.h"
+#include "df.h"
 #include "diagnostic-core.h"
 #include "toplev.h"
 #include "tm_p.h"


Anaroly.


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