ICE (sorry, forgot platform on previous mail)
Christoph Moar
christoph.moar@mchp.siemens.de
Fri Jul 3 01:55:00 GMT 1998
While trying to compile something like this:
--- schnipp ---
struct Time {
signed long aSeconds;
unsigned long aMicroSeconds;
Time (signed long seconds = 0, unsigned long microSeconds = 0)
: aSeconds(seconds), aMicroSeconds(microSeconds) {}
};
class Duration {
public:
static const Time DURATION_UNBOUNDED (-1, 0);
static const Time DURATION_UNKNOWN (-2, 0);
virtual Time getDuration() = 0;
};
void main (void) {
cout << "foo" << endl;
}
--- schnapp ---
I get
test.cc:12: Internal compiler error.
test.cc:12: Please submit a full bug report to `egcs-bugs@cygnus.com'.
(line 12 is the first static const Time declaration).
platform:
RedHat Linux 5.0 with binutils 2.9.1.0.7 glibc2
egcs-19980628
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.43/specs
gcc version egcs-2.91.43 19980628 (gcc2 ss-980502 experimental)
Best regards,
Christoph.
--
Christoph Moar (christoph.moar@mchp.siemens.de) Tel. (++49) 89 636-44628
SIEMENS AG Corporate Technology Fax. (++49) 89 636-47457
Information and Media Technology
Office Adress: SIEMENS AG ZT IK 1, Otto-Hahn-Ring 6, D-81739 Munich
Postal Adress: SIEMENS AG ZT IK 1, D-81730 Munich
pgpkey http://pgp5.ai.mit.edu:11371/pks/lookup?op=index&search=0xae81b9cc
More information about the Gcc-bugs
mailing list