This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2004 22:18:10 -0000
- Subject: [Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- References: <20040910175350.17404.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-11 22:18 -------
Hmm... :-/
I hate to put this on RTH's plate too, but it was his patch that
caused it. I'm surprised, there is no gimlification code at all
for a STMT_EXPR, but rth's patch added the build (STMT_EXPR, ...)
that is causing this problem now.
Richard, is the correct fix to simply take the STMT_EXPR_STMT out
(which may only be, iiuc, a BIND_EXPR, a TRY_FINALLY_EXPR, or a
TRY_CATCH_EXPR?) and gimplify that? The old code looked like it
did a lot more.
Puzzling...
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17404