This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Another C99 _Complex patch
On Sun, Sep 17, 2000 at 05:11:31PM +0100, Joseph S. Myers wrote:
> 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-decl.c (grokdeclarator): Don't give a warning about defaulting
> to int for plain complex which defaults to complex double. Do
> warn about defaulting to complex double if pedantic. Warn about
> complex integer types if pedantic. Warn about complex types if
> pedantic and not in C99 mode.
> * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
> for complex conjugation.
>
> gcc/testsuite/ChangeLog:
> 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/c90-complex-1.c, gcc.dg/c99-complex-1.c: New tests.
Ok.
r~