diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-06-02 19:37:34 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-06-02 19:37:34 +0000 |
commit | ceeedfc11a23c9223095ef4eace51f29fb036aa9 (patch) | |
tree | 8660e3e7cbb02e35bffcba5d9bb626eaddc20430 /gcc/testsuite/gcc.dg/c99-intconst-1.c | |
parent | 27e511e0d56e4968abd1549b50b62071f22a224f (diff) | |
download | gcc-ceeedfc11a23c9223095ef4eace51f29fb036aa9.zip gcc-ceeedfc11a23c9223095ef4eace51f29fb036aa9.tar.gz gcc-ceeedfc11a23c9223095ef4eace51f29fb036aa9.tar.bz2 |
c-common.c (c_common_init): Override cpplib's default warn_long_long setting.
* c-common.c (c_common_init): Override cpplib's default
warn_long_long setting.
* c-lex.c (lex_number): Replace with interpret_integer,
interpret_float, narrowest_unsigned_type and
narrowest_signed_type, taking advantage of the new
cpplib functionality.
* cpperror.c (_cpp_begin_message): If a warning is turned
into an error, avoid printing "warning:".
* cppexp.c (cpp_num_sign_extend): New.
* cppinit.c: Update comment.
* cpplib.h (cpp_num_sign_extend): New.
* tree.h: Update comment.
testsuite:
* gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c,
gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c:
Update for mofified diagnostics.
* gcc.dg/c99-intconst-1.c: No longer fail.
From-SVN: r54180
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-intconst-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-intconst-1.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-intconst-1.c b/gcc/testsuite/gcc.dg/c99-intconst-1.c index ffe87b0..629b0bc 100644 --- a/gcc/testsuite/gcc.dg/c99-intconst-1.c +++ b/gcc/testsuite/gcc.dg/c99-intconst-1.c @@ -4,11 +4,6 @@ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ -/* C99 type selection didn't make it into 3.1, so this test - will fail on one or two entries; which ones depends on the - platform. - { dg-excess-errors "c99 not yet" } */ - #include <limits.h> /* Assertion that constant C is of type T. */ |