This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/29640] New: C99 VLA size rejected in an objc method definition


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]