Fix more struct inits
commit0344c0b6a0d0436ff27a702a1f9232cf39d3c5c9
authorMichael Matz <matz@suse.de>
Wed, 10 Apr 2019 22:30:41 +0000 (11 00:30 +0200)
committerMichael Matz <matz@suse.de>
Wed, 10 Apr 2019 22:30:41 +0000 (11 00:30 +0200)
tree3e7e09e583cc55779e1c3d8531d819d50370231a
parent94846d3eef16fbb2d89b3eec7c2befc567c1e859
Fix more struct inits

anonymous struct members were somewhat broken as the testcase
demonstrates.  The reason is the jumping through hoops to fiddle
with the offsets I once introduced to avoid having to track
a cumulative offset.  That's now not necessary anymore and actively
harmful, doing the obvious thing is now better.
tccgen.c
tests/tests2/90_struct-init.c
tests/tests2/90_struct-init.expect