public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [FR30] Rmove compiler warning
@ 2010-11-05 20:32 Anatoly Sokolov
  2010-11-08 10:21 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Anatoly Sokolov @ 2010-11-05 20:32 UTC (permalink / raw)
  To: gcc-patches; +Cc: nickc

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FR30] Rmove compiler warning
  2010-11-05 20:32 [FR30] Rmove compiler warning Anatoly Sokolov
@ 2010-11-08 10:21 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2010-11-08 10:21 UTC (permalink / raw)
  To: Anatoly Sokolov; +Cc: gcc-patches

Hi Anatoly,

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

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-08 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 20:32 [FR30] Rmove compiler warning Anatoly Sokolov
2010-11-08 10:21 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).