Internal compiler error in g++ on Alpha
Falk Hueffner
falk.hueffner@student.uni-tuebingen.de
Sat Nov 20 12:54:00 GMT 1999
Hi,
I found this while trying to compile ddd 3.1.90. Here's a simplified
test case:
/*
% uname -a
Linux borkum 2.2.13 #2 Wed Oct 20 16:30:02 CEST 1999 alpha unknown
% c++ -v
Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.2/specs
gcc version 2.95.2 19991109 (Debian GNU/Linux)
% c++ -c HelpCB.C # works ok
% c++ -O1 -c HelpCB.C
HelpCB.C: In function `void PopupTip()':
HelpCB.C:21: Internal compiler error.
HelpCB.C:21: Please submit a full bug report.
HelpCB.C:21: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
% c++ -O2 -c HelpCB.C
HelpCB.C: In function `void PopupTip()':
HelpCB.C:21: Internal compiler error in `scan_region', at except.c:2566
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
*/
class MString {
char *_mstring;
public:
~MString() {
delete _mstring;
}
};
void PopupTip()
{
MString tip;
for (int run = 0; run < 18; run++) {
bool ok = false;
if (!ok && run <= 8)
continue;
return;
}
}
More information about the Gcc-bugs
mailing list