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++/19148] [4.0 Regression] ICE: gimplification failed


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


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