[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report: Internal compiler error
From: |
Hans-Jörg Zander |
Subject: |
Bug Report: Internal compiler error |
Date: |
Fri, 04 May 2001 18:27:00 +0200 |
Dear Sirs,
I tried to compile the code below with the command
> g++ -c -g -fhandle-exceptions -m486 -efence -Wall -pedantic -I/home/hajoe/LIB
> bug.cc
and got the following message:
bug.cc: In method `column::column(int)':
bug.cc:54: Internal compiler error.
bug.cc:54: Please submit a full bug report to address@hidden'.
The g++ version is:
> g++ -v
gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
gcc version 2.7.2.3
Best regards,
Hans-Jörg Zander
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
class liquid
{ public:
liquid();
liquid(const liquid&);
~liquid();
// .....
};
class vapor
{ public:
vapor();
vapor(const vapor&);
~vapor();
// .....
};
class stage
{ public:
stage();
stage(const stage&);
~stage();
// .....
};
class column
{ public:
column(int);
~column();
liquid **L0;
vapor **G0;
// .....
};
column::column(int n)
{ int i;
stage *S;
S=new stage[n];
L0=new liquid*[n];
G0=new vapor*[n];
for(i=0; i<n; i++)
{ L0[i]=NULL;
G0[i]=NULL;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug Report: Internal compiler error,
Hans-Jörg Zander <=