testcase:
int f(int m, int n[m]);
@ implementation NGActiveSocket
+ (void) socketPair:(int)m :(int [m]) _pair
{
  _pair[0] =  0;
}
@end

---------------
Seems like method arguments should be parsed the same as function arguments.


-- 
           Summary: C99 VLA size rejected in an objc method definition
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: objc
        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=29640

Reply via email to