|
From: | Tyge Løvset |
Subject: | Re: [Tinycc-devel] variable lenght array parameter declaration bug |
Date: | Fri, 3 Sep 2021 10:36:21 +0200 |
Hi All.
Latest mob (and earlier) don't handle declaration of a variable length
array parameter when the length is specified by an earlier parameter. Here
is a test file:
-------------------
#include <stdlib.h>
typedef struct { int x, y; } regex_t;
typedef struct { int x, y; } regmatch_t;
extern int regexec (const regex_t *__preg,
const char *__String, size_t __nmatch,
regmatch_t __pmatch[__nmatch],
int __eflags);
-------------------
This goes through GCC, pcc, and clang with no problems. Can someone
fix this? After recent changes in GNULIB, I can no longer compile
gawk with tcc because of this issue.
Thanks!
Arnold
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |