This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A new alpha bug


>   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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]