http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46608
Summary: picochip-protos.h includes target.h Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org Target: picochip-*-* picochip-protos.h includes target.h. Since target.h includes one or more generated files, it is important that the dependencies for these files are visible to make, lest it attempts to build some file that requires picochip-protos.h - e.g. gencondmd - before the generated files have been made. There is no actual need for picochip-protos.h to include target.h, since the picochip_secondary_reload when that function is made static in picochip.c .