OSDN Git Service

2006-02-17 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
authordalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Feb 2006 09:25:31 +0000 (09:25 +0000)
committerdalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Feb 2006 09:25:31 +0000 (09:25 +0000)
commitcca5dddcda2bd7053ca800e0f33bd2e6676ee3df
tree7042da2d52f0b0578ba88e4df4ca0cbceeee00ab
parent4b4581752338623a2d4a9ec3b00b7c253e528c1f
2006-02-17  Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>

gcc/ChangeLog:
     * doc/cpp.texi (__TIMESTAMP__): Document.

libcpp/ChangeLog:
     * macro.c (_cpp_builtin_macro_text): Handle BT_TIMESTAMP.
     * files.c (_cpp_get_file_stat): New function.
     * include/cpplib.h (builtin_type): Add BT_TIMESTAMP.
     * init.c (builtin_array): Add support for __TIMESTAMP__/BT_TIMESTAMP.
     * internal.h (_cpp_get_file_stat): Prototype.
     (struct cpp_buffer): Add timestamp.

gcc/testsuite/ChangeLog:
     * gcc.dg/cpp/undef3.c: New test.
     * gcc.dg/cpp/trad/builtins2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111232 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/cpp.texi
gcc/testsuite/ChangeLog
libcpp/ChangeLog
libcpp/files.c
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/macro.c