Hi,
On Thu, 7 Mar 2019, Pascal Cuoq wrote:
The problematic input is as follows. Note that in this case this is a
well-formed compilation unit:
$ cat extern_local.i
int main(void) {
char a[50];
for (int i;;) {
extern i;
i++;
}
}
Wow, thanks for the report. This specific case has never worked at all in
TCC, local extern decls generally did work, but not if they shadowed
another local variable. Fixed in mob.
Ciao,
Michael.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel