Jan Hubicka wrote, Friday May 20th > > The attached patch seems to fix the problem to me (at least to the point > so I can build cc1 binarry). What kind of other problems you are > seeing? >
thank you for your fast response. After applying your patch, bootstrap succeeds again also on my machine. I'll be running the testsuite this week-end, but seeing the origin of the patch, I do not expect any difficulty. The "other" problem I had seen, simply was, that when hand-modifying the generated insn-emit.c in order to include basic-block.h, I did get follow up failures because of undefined typedefs that were used in some struct definition, IIRC. Possibly, I did insert the include statement at the wrong position within the source file. Anyway, your follow-up patch seems to solve the problem. Yours, Björn > Index: Makefile.in > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v > retrieving revision 1.1488 > diff -c -3 -p -r1.1488 Makefile.in > *** Makefile.in 18 May 2005 20:45:02 -0000 1.1488 > --- Makefile.in 20 May 2005 18:11:58 -0000 > *************** s-constants : $(MD_DEPS) build/genconsta > *** 2452,2458 **** > > insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ > $(RTL_H) $(EXPR_H) real.h output.h insn-config.h $(OPTABS_H) reload.h \ > ! $(RECOG_H) toplev.h function.h $(FLAGS_H) hard-reg-set.h $(RESOURCE_H) > $(TM_P_H) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-emit.c \ > $(OUTPUT_OPTION) > > --- 2452,2459 ---- > > insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ > $(RTL_H) $(EXPR_H) real.h output.h insn-config.h $(OPTABS_H) reload.h \ > ! $(RECOG_H) toplev.h function.h $(FLAGS_H) hard-reg-set.h $(RESOURCE_H) > \ ! $(TM_P_H) $(BASIC_BLOCK_H) > $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-emit.c \ > $(OUTPUT_OPTION) > > Index: genemit.c > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/genemit.c,v > retrieving revision 1.98 > diff -c -3 -p -r1.98 genemit.c > *** genemit.c 5 Mar 2005 14:01:00 -0000 1.98 > --- genemit.c 20 May 2005 18:11:58 -0000 > *************** from the machine description file `md'. > *** 845,850 **** > --- 845,851 ---- > printf ("#include \"reload.h\"\n"); > printf ("#include \"toplev.h\"\n"); > printf ("#include \"ggc.h\"\n\n"); > + printf ("#include \"basic-block.h\"\n\n"); > printf ("#define FAIL return (end_sequence (), _val)\n"); > printf ("#define DONE return (_val = get_insns (), end_sequence (), > _val)\n\n");