This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How "broken" is C complex number support?


> According to http://gcc.gnu.org/c9xstatus.html, support for the C99
> complex type is currently "broken."  What exactly does this mean?  Is it
> just that complex numbers in gcc (a longstanding extension) have some
> minor technical incompatibilities with the C99 specification?  

That is certainly the reason I called the feature buggy. AFAICT,
complex should be a keyword only if <complex.h> is included, and I
believe there are other things that are done incorrectly.

> Or is even the gcc version seriously buggy?

I believe that depends on the target. GCC may generate incorrect code
when passing complex numbers as function arguments.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]