Mail Archives: djgpp/1993/12/22/17:09:10
>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 <jon AT halsp DOT hitachi DOT com>
===============> I write for myself ONLY. <===============
- Raw text -