[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 11 22:18:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list