This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31337] [4.2/4.3 regression] ICE with statement expression



------- Comment #5 from jason at gcc dot gnu dot org  2007-08-27 20:02 -------
Subject: Bug 31337

Author: jason
Date: Mon Aug 27 20:02:22 2007
New Revision: 127838

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127838
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/ext/stmtexpr11.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31337


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]