To: Andreas Henning Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: GO32 bug? (Or am I very wrong?) Date: Wed, 22 Dec 93 13:57:24 PST From: Jonathan Ryshpan >I have defined a class for complex numbers, but as soon as a call >a function with a complex type as an argument, I get a FP exception. >(eg, abs(z), where z is of the type complex, generates an exception.) I get a similar problem under gcc-2.5.5 running under ISC Unix on a i486 PC. Very likely this is because of the following, taken from PROBLEMS in the gcc-2.5.5 FSF distribution: 124. On the 386, bad code results from foo (bar ()) when bar returns a double, because the pseudo used fails to get preferenced into an fp reg because of the distinction between regs 8 and 9. We'll probably have to wait till the FSF fixes this. Good Luck: Jonathan Ryshpan ===============> I write for myself ONLY. <===============