From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: rth@cygnus.com Cc: egcs@cygnus.com Subject: Re: A new alpha bug Date: Sat, 13 Sep 1997 14:44:00 -0000 Message-id: References: <199709130105.SAA01370@dot.cygnus.com> X-SW-Source: 1997-09/msg00538.html I think TImode handling is broken in egcs, maybe gcc. If I add a dummy to complex_double to make TImode go away, the code compiles/runs fine. # gcc -O foo.cc # a.out -- H.J. Lu (hjl@gnu.ai.mit.edu) --- class complex_double { public: complex_double (double r = 0, double i = 0): re (r), im (i) { } double re, im; int dummy; }; main() { complex_double one = 1.0; // complex_double one (1.0); if (one.re != 1.0 || one.im != 0.0) abort (); return 0; }