This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How "broken" is C complex number support?
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: How "broken" is C complex number support?
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 22 May 2000 19:44:02 +0100 (BST)
- CC: stevenj at alum dot mit dot edu, gcc at gcc dot gnu dot org
> I believe that depends on the target. GCC may generate incorrect code
> when passing complex numbers as function arguments.
Yes. In particular, SCmode (complex float) doesn't work on 64 bit targets.
We need an infrastructure change (the SUBREG_BYTE stuff) to properly fix this.