This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18519] [4.0 Regression] ICE: Segmentation fault at -O3
- 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: 16 Nov 2004 14:27:35 -0000
- Subject: [Bug tree-optimization/18519] [4.0 Regression] ICE: Segmentation fault at -O3
- References: <20041116110602.18519.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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