t.h:
int f(void)
{

--------- cut -----
t.c
#include <t.h>

return 0;
}

--------- cut -----
gcc t.c
works
but
gcc t.h && gcc t.c

fails to compile t.h.
As far as I can tell this is not a regression


-- 
           Summary: PCH vs not closing a function in a header
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          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=30702

Reply via email to