OSDN Git Service

* cpphash.c (timestamp): Delete.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Apr 2000 03:27:21 +0000 (03:27 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Apr 2000 03:27:21 +0000 (03:27 +0000)
commit1e67c2e8b78d43f42a7b36b00de59322d8c2de6c
treee001640b191e5f97c968fedc53d3750c074b5126
parent36cabae21595ce7b057a7105854090e2fb8cad87
* cpphash.c (timestamp): Delete.
(del_HASHNODE): If type is T_MCONST, free value.cpval.
(special_symbol): Remove unnecessary braces.  Remove
T_VERSION.  Treat T_STDC like T_CONST unless
STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
when one is encountered, then convert them into T_MCONST
nodes.
* cppinit.c (builtin_array): version_string is T_MCONST.
__STDC__ has a "1" in its cpval.  Don't have a terminator
entry.  Clean up which entries are dumped.
(initialize_builtins): Only __STDC__ gets the special
-traditional treatment.  Count the length of builtin_array.
Render version_string here.
* cpphash.h: Remove T_VERSION.  Add T_MCONST.
* cpplib.h (struct cpp_reader): Remove timebuf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33047 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplib.h