[patch] __TIMESTAMP__ predefined macro
Mark Mitchell
mark@codesourcery.com
Sat Feb 18 05:19:00 GMT 2006
Grigory Zagorodnev wrote:
> 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.
This patch is OK. If you do not have checkin privileges, please ask
someone to perform the checkin for you.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list