Zack Weinberg wrote:
On Wed, Jan 25, 2006 at 12:17:00AM +0100, Andreas Tobler wrote:
Andreas Tobler wrote:
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'
[...]
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?

Oh, probably.  insn-attrtab.c sees those headers, after all.

Well, just for my understanding, insn-attrtab.c is generated by genattrtab which has these includes. insn-automata.c instead is generated by genautomata, which lacks these includes. So I think it should be right to add these includes.

Andreas

P.S, patch in testing.



Reply via email to