If someone puts a .d file in a .gch directory, we will still warn even if the
user did not use -Winvalid-PCH.  All other reasons why we would reject a PCH
including an invalid magic is conditionalized on -Winvalid-PCH so should this
warning.


-- 
           Summary: "too short to be a PCH file" warning should be
                    conditional on -Winvalid-PCH
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35027

Reply via email to