TCC gets different result than gcc or clang for code below > > #define G(x) _Generic((x),int*:"int*",void*:"void*") > > int printf(const char*, ...); > > int main() > { > int y = 0; > const char *s = G(1?(void*)(y*0LL):&y); > printf("%s\n", s); > }
expected void* actual int* Similar constructs are used in Linux kernel. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel