cpphash.c (collect_objlike_expansion): Add sanity check.
authorZack Weinberg <zack@wolery.cumb.org>
Sun, 23 Apr 2000 21:50:59 +0000 (21:50 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 23 Apr 2000 21:50:59 +0000 (21:50 +0000)
commita6a69fc2ad1062fab2801e42aca04af23470365b
tree364540efe12aff30a3743eae6f22789045b08e5b
parenta204fec0cbb0097002847875e64c0850defcfe5e
cpphash.c (collect_objlike_expansion): Add sanity check.

* cpphash.c (collect_objlike_expansion): Add sanity check.
(special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
the buffer is the empty string, return.  Mark __DATE__ and
__TIME__ as XCONST nodes, not MCONST.
(_cpp_macroexpand): Avoid pushing an empty buffer.
(funlike_macroexpand): Don't pop token_buffer here.

From-SVN: r33360
gcc/ChangeLog
gcc/cpphash.c
gcc/testsuite/gcc.dg/undef-2.c [new file with mode: 0644]