re PR c/24255 (__transparent_union__ mishandled)
authorRichard Henderson <rth@redhat.com>
Tue, 11 Oct 2005 22:52:04 +0000 (15:52 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 11 Oct 2005 22:52:04 +0000 (15:52 -0700)
commit0257e3837eb84c9f288c39cfbb3caa41badf9e3b
tree6b4c903cc38542479c96457d3c7e5f32641dfc61
parenta4176272bf595ac4110d38e07970bdde42d6d4dd
re PR c/24255 (__transparent_union__ mishandled)

        PR c/24255
        * c-typeck.c (convert_for_assignment): Use build_constructor_single
        to initialize a transparent union instead of a nop_expr.

From-SVN: r105270
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/gcc.dg/transparent-union-5.c [new file with mode: 0644]