[Bug c++/21440] [4.0/4.1 Regression] ICE with statement-as-expression

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 2 11:41:00 GMT 2005


------- Additional Comments From nathan at gcc dot gnu dot org  2005-06-02 11:41 -------
ug, this is horrible.  we're incorrectly smashing up the inside of a STMT_EXPR
to pull out a TARGET_EXPR we know is there.  Unfortunately that moves a decl
outside of its cleanup.  We really should be going the other way and pushing the
user of the STMT_EXPR into it.  I suspect we'll need to move further along the
path of making STMT_EXPRs look like real function calls, complete with an
explicitly generated RESULT_DECL.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nathan at gcc dot gnu dot   |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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



More information about the Gcc-bugs mailing list