Re: [Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-20 Thread Christian Jullien
To: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] initializer overflow with arrays on implicit size I have reported this before and tried a bit to debug without success. Very annoying. Only useful info I can give is that is does not happen on GCC compiled on windows

Re: [Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-20 Thread Tyge Løvset
range...@nongnu.org] On Behalf Of Arthur Williams via Tinycc-devel > Sent: Saturday, February 12, 2022 03:33 > To: tinycc-devel@nongnu.org > Cc: Arthur Williams > Subject: [Tinycc-devel] initializer overflow with arrays on implicit size > > Greetings, > > Found a strange erro

Re: [Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-11 Thread Christian Jullien
Behalf Of Arthur Williams via Tinycc-devel Sent: Saturday, February 12, 2022 03:33 To: tinycc-devel@nongnu.org Cc: Arthur Williams Subject: [Tinycc-devel] initializer overflow with arrays on implicit size Greetings, Found a strange error when trying to build a program with tcc. The error is ``` test.c

[Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-11 Thread Arthur Williams via Tinycc-devel
Greetings, Found a strange error when trying to build a program with tcc. The error is ``` test.c:8: error: internal compiler error tccgen.c:7728: in init_assert(): initializer overflow ``` And here is a minimal example of how to repro it. ``` #include struct A { char a; char b; }; int