This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21440] [4.0/4.1 Regression] ICE with statement-as-expression
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2005 11:41:20 -0000
- Subject: [Bug c++/21440] [4.0/4.1 Regression] ICE with statement-as-expression
- References: <20050507082648.21440.dank@kegel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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