This is the mail archive of the gcc@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]

Re: bootstrap broken on solaris8


Andreas Tobler wrote:
Hello

I can't hide :)

I get the following bootstrap break on solaris 8:

cc1: warnings being treated as errors
insn-automata.c: In function 'internal_insn_latency':
insn-automata.c:1969: warning: implicit declaration of function 'store_data_bypass_p'
gmake[3]: *** [insn-automata.o] Error 1


The svn version is 110178 and the arch is a sunfire-240.

I guess it has to do with Zack's recent mods.

Hm, adding "insn-config.h" and "recog.h" to insn-automata.c makes it compile. Try now to do it the right way via genautomata.c


Is this correct, Zack?

Index: genautomata.c
===================================================================
--- genautomata.c       (revision 110178)
+++ genautomata.c       (working copy)
@@ -9255,7 +9255,9 @@
        "#include \"coretypes.h\"\n"
        "#include \"tm.h\"\n"
        "#include \"rtl.h\"\n"
-       "#include \"insn-attr.h\"\n");
+       "#include \"insn-attr.h\"\n"
+       "#include \"insn-config.h\"\n"
+       "#include \"recog.h\"\n");

   if (VEC_length (decl_t, decls) > 0)
     {

Thanks,
Andreas



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