Hi,

> I think you mean this post:

Thanks for forwarding this! But unfortunately, it seems that this is
the fix of another bug. The bug I looked into was the following:

#include <stdio.h>
int A = 1;
#define A 1+A
#define B(x) x
int main() {
    printf("%d\n", B(A));
}

This code should output 2, but TCC generates code which outputs 3.

Anyway, thanks again.


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to