c-decl.c (grokdeclarator): Don't give a warning about defaulting to int for…
c-decl.c (grokdeclarator): Don't give a warning about defaulting to int for plain complex which defaults... * 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. testsuite: * gcc.dg/c90-complex-1.c, gcc.dg/c99-complex-1.c: New tests. From-SVN: r36478
Showing
gcc/testsuite/gcc.dg/c90-complex-1.c
0 → 100644
gcc/testsuite/gcc.dg/c99-complex-1.c
0 → 100644
Please
register
or
sign in
to comment