re PR c++/31337 (ICE with statement expression)
authorJason Merrill <jason@redhat.com>
Mon, 27 Aug 2007 20:02:22 +0000 (16:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 27 Aug 2007 20:02:22 +0000 (16:02 -0400)
commit83d7e8f06ecf948275efda077533032fe65a4855
tree0beec1120900beb0a9e1598d152f7637242092b1
parent9da72d66843838db60867accef31278aa961833c
re PR c++/31337 (ICE with statement expression)

        PR c++/31337
        * gimplify.c (gimplify_modify_expr): Discard the assignment of
        zero-sized types after calling gimplify_modify_expr_rhs.
        * testsuite/g++.dg/ext/stmtexpr11.C: New.

From-SVN: r127838
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/stmtexpr11.C [new file with mode: 0644]