* c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
commit3385506fe73e94274312eb1696ff3b965bdd368b
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 04:18:16 +0000 (2 04:18 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 04:18:16 +0000 (2 04:18 +0000)
treec63ec9dce2bc93a6a52925534a75b6d065be7679
parent9ab9d8af329b4f99b807b65efb8fd4fb4246549d
* c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
* cppinit.c (cpp_post_options): Likewise.

* cppexp.c (cpp_classify_number): Suppress -Wtraditional
warning about 'LL' suffix (but not 'ULL' etc) when
-Wno-long-long is in effect.

* cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
Check for failing time()/localtime(), issue a warning, and
make __TIME__ and __DATE__ expand to fallback strings.

* doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
and __TIME__ when the date and time cannot be determined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55969 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/cppexp.c
gcc/cppinit.c
gcc/cppmacro.c
gcc/doc/cpp.texi
gcc/doc/extend.texi