egcs bug

Peter Paulus paulus@rulgm0.LeidenUniv.nl
Fri Nov 13 10:51:00 GMT 1998


Dear Sir / Madam,

The following small program gives an internal compiler error, using
egcs-1.0.2. As the
compiler kindly asked me to contact you with a full bug report, hopefully
you have enough
information. By the way, I don't know if it is a violation of any C++
rule to initialize a variable
in the declaration of a class.

#include <complex.h>
class { static const complex<double> i(0,1); }

Good luck,
Peter
-- 
Peter Paulus
Kamerlingh Onnes Laboratories
PO Box 9506, 2300 RA Leiden
The Netherlands
tel: +31 71 527 5856
fax: +31 71 527 5404
e-mail: Paulus@RULKOL.LeidenUniv.nl
 



More information about the Gcc-bugs mailing list