GCC does not diagnose the following translation unit with -fsyntax-only:

static struct foo x;


-- 
           Summary: Undefined behaviour not diagnosed with -fsyntax-only
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: neil at gcc dot gnu dot org


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

Reply via email to