------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-16 14:27 ------- Confirmed reduced testcase: struct QChar { unsigned short ucs; } ; int tibetan_form( const QChar &c ); static inline int tibetan_nextSyllableBoundary( int start, bool *invalid, QChar *uc) { int pos = 0; int state = tibetan_form( uc[pos] ); if ( state != 1 ) { if ( state != 0 ) *invalid = 1; goto finish; } finish: *invalid = 0; return start+pos; }
void tibetan_shape( int from, int len, QChar *uc) { int sstart = from; int end = sstart + len; while ( sstart < end ) { bool invalid; tibetan_nextSyllableBoundary(sstart, &invalid, uc ); } } : Search converges between 2004-10-26-161001-trunk (#611) and 2004-11-03-014001-trunk (#612). Really only -O1 -finline-functions is needed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-11-16 14:27:29 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18519