[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Another bug in tcc: Wrong array initialization (yarpgen.v

From: Detlef Riekenberg
Subject: [Tinycc-devel] Another bug in tcc: Wrong array initialization (yarpgen.v1)
Date: Wed, 8 Mar 2023 17:44:13 +0100

I added another tcc bug report, discovered by yarpgen (v1).


Initialization of an array (of struct tf_3_struct_2) is broken.

tf_3_struct_2 contains some structs of type tf_3_struct_1
and tf_3_struct_1 contains bitfields and non bitfield member,
and tcc always fails to initialize the member_1_3 of tf_3_struct_1

In the attached source files in the bug report, i split the initialization
of tf_3_array_5 in multiple lines.

The original initialization was in one line, similar to tf_3_array_6 and tf_3_array_7.
(the source for tf_3_array_6 and tf_3_array_7 is commented out by default)

Any ideas?

bye bye ... Detlef
reply via email to

[Prev in Thread] Current Thread [Next in Thread]