COMPLEX_FLOAT bugs
Jim Wilson
wilson@cygnus.com
Thu Dec 4 19:14:00 GMT 1997
The gcc tests:
FAIL: gcc.c-torture/execute/complex-5.c execution, -O0
...
have consistantly failed for me under mips-sgi-irix6.3, so I thought I
would take a look at it.
This is due to a fundmental flaw in the implementation of the __complex__
support. It fails for foo __complex__ if foo is less than or equal to half
the word size. Hence float __complex__ fails on all 64 bit machines, such
as Irix 6. It is possible to write testcases using short __complex__ that
will fail on a 32 bit machine.
This has been a long standing problem. There is no simple fix for it.
It will eventually get fixed, but meanwhile there is no need to worry about
these complex-5.c failures on 64 bit machines.
Jim
More information about the Gcc-bugs
mailing list