[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] internal compiler error: initializer overflow
From: |
Stefanos |
Subject: |
Re: [Tinycc-devel] internal compiler error: initializer overflow |
Date: |
Fri, 14 May 2021 23:47:35 +0300 |
On Fri, 14 May 2021 18:55:18 +0000
Tyge Løvset <tylovset@live.no> 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)