nios2: avoid anonymous unions in designated initializers.
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Mar 2017 16:28:49 +0000 (17:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 4 Mar 2017 14:05:48 +0000 (14:05 +0000)
commit4ae4b609ee2d5bcc9df6c03c21dc1fed527aada1
treeb2263a118eaaaed3adceddcba593e296cd3142cd
parenteff235eb2bcd7092901f4698a7907e742f3b7f2f
nios2: avoid anonymous unions in designated initializers.

These cause compilation failures on CentOS 6 or other operating
systems with older GCCs.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/nios2/translate.c