aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/75_array_in_struct_init.expect
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-10-18 03:31:14 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:49:55 +0100
commitd042e71e9f96cd2635e9d18622c4a2aa007821a4 (patch)
treee923926a23ab98d6bf4c2ed89317f5d592d9b1d0 /tests/tests2/75_array_in_struct_init.expect
parent7ae35bf1bb21858c369ab09f5562ecd30847f669 (diff)
downloadtinycc-d042e71e9f96cd2635e9d18622c4a2aa007821a4.tar.gz
tinycc-d042e71e9f96cd2635e9d18622c4a2aa007821a4.tar.bz2
Fix miscompile with dead switches
In certain very specific situations (involving switches with asms inside dead statement expressions) we could generate invalid code (clobbering the buffer so much that we generated invalid instructions). Don't emit the decision table if the switch itself is dead.
Diffstat (limited to 'tests/tests2/75_array_in_struct_init.expect')
0 files changed, 0 insertions, 0 deletions