------- Additional Comments From bangerth at dealii dot org 2004-12-10 18:13
-------
Here's a small testcase:
--------------------------
const char *toHex( unsigned short u )
{
static char hexVal[5];
int i = 3;
while ( i >= 0 ) {
unsigned short hex = (u & 0x000f);
if ( hex < 0x0a )
hexVal[i] = '0'+hex;
else
hexVal[i] = 'A'+(hex-0x0a);
i--;
}
hexVal[4] = '\0';
return hexVal;
}
-----------------------
sandbox/tt> ../../build-gcc/gcc-install/bin/c++ -O2 -fPIC -c x.cc
c++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-10 18:13:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18928