[Bug c/38246] New: Restrict constraint violation not an error with -pedantic-errors

neil at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 24 04:36:00 GMT 2008


The following violates constraint C99 6.7.3p2 yet is only a warning with
-pedantic-errors:

restrict struct s;


-- 
           Summary: Restrict constraint violation not an error with -
                    pedantic-errors
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         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=38246



More information about the Gcc-bugs mailing list