This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/29640] New: C99 VLA size rejected in an objc method definition
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2006 06:18:25 -0000
- Subject: [Bug objc/29640] New: C99 VLA size rejected in an objc method definition
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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