On Fri, 14 May 2021 18:55:18 +0000
Tyge Løvset <[email protected]> wrote:
> typedef struct { int x, y; } S;
>
> int main()
> {
> S a = {1}, b = {2}, c = {3};
> S arr1[] = {a}; // ok
> S arr2[] = {a, b}; // tcc_bug.c:8: error: internal compiler error
> // tccgen.c:7754: in init_assert(): initializer
> overflow
> }
>
> Sendt fra E-post<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
> 10
>
I can confirm the bug; it exists in tcc version 0.9.27 - 0378168 (x86_64 Linux)
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel