[Bug target/46608] New: picochip-protos.h includes target.h

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 22 19:06:00 GMT 2010


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: unassigned@gcc.gnu.org
        ReportedBy: amylaar@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 .



More information about the Gcc-bugs mailing list