This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19148] [4.0 Regression] ICE: gimplification failed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2004 17:59:36 -0000
- Subject: [Bug c++/19148] [4.0 Regression] ICE: gimplification failed
- References: <20041224172149.19148.bugzilla-gcc@thewrittenword.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-24 17:59 -------
Reduced testcase:
struct QChar {
QChar( char c );
QChar( const QChar& c );
unsigned short ucs;
} ;
void f(QChar *uc, unsigned short ch, QChar replacement)
{
*uc++ = ((ch) ? QChar((1)) : replacement);
}
I think this was caused by:
2004-12-23 Mark Mitchell <mark@codesourcery.com>
PR c++/16405
* gimplify.c (gimplify_modify_expr_rhs): Handle
INDIRECT_REF/ADDR_EXPR combinations.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-24 17:59:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19148