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++/21440] [4.0/4.1 Regression] ICE with statement-as-expression


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


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