This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error in g++ on Alpha
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error in g++ on Alpha
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Date: 20 Nov 1999 19:39:11 +0100
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;
}
}