A new alpha bug

Richard Henderson rth@cygnus.com
Fri Sep 12 18:08:00 GMT 1997


>   complex_double (double r = 0, double i = 0): re (r), im (i) { }
[...]
>   complex_double one = 1.0;

I don't think this does what you think it does.  What it doesn't
do is call the constructor listed. 

I'll leave it to those who can actually remember what the rules
concerning that equals sign are to determine if this is a bug in
the C++ front end or whether your code is wrong.


r~



More information about the Gcc mailing list