* 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
Showing
- gcc/ChangeLog 17 additions, 1 deletiongcc/ChangeLog
- gcc/c-common.c 3 additions, 2 deletionsgcc/c-common.c
- gcc/cppexp.c 12 additions, 7 deletionsgcc/cppexp.c
- gcc/cppinit.c 3 additions, 2 deletionsgcc/cppinit.c
- gcc/cppmacro.c 31 additions, 11 deletionsgcc/cppmacro.c
- gcc/doc/cpp.texi 8 additions, 0 deletionsgcc/doc/cpp.texi
- gcc/doc/extend.texi 3 additions, 1 deletiongcc/doc/extend.texi
Loading
Please register or sign in to comment