backends: Avoid type-punning issue in s390_set_initial_registers_tid.
authorMark Wielaard <mjw@redhat.com>
Wed, 18 Dec 2013 17:02:42 +0000 (18:02 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 18 Dec 2013 17:02:42 +0000 (18:02 +0100)
commita3afdb212742e28c6d309ae919e81c52afb44542
tree2703ce7c40c2c6c72010506bc11b43aa97f46bfc
parentc53094634516313fb598d67e709f51f20d6acbba
backends: Avoid type-punning issue in s390_set_initial_registers_tid.

Use union to avoid type-punning when assigning a double to a Dwarf_Word.
gcc complains otherwise. error: dereferencing type-punned pointer will
break strict-aliasing rules.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
backends/ChangeLog
backends/s390_initreg.c