]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/31869 (stringifying empty macros)
authorJoseph Myers <joseph@codesourcery.com>
Sun, 12 Apr 2009 22:20:02 +0000 (23:20 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 12 Apr 2009 22:20:02 +0000 (23:20 +0100)
commit18f41a1b45de2a83725299a8e6544c1f226dd4da
tree6ae1a7f8a15b2c180c7df052633170511e1bf746
parent849d624b4a81f4dc9546e29571c970994dc935ed
re PR preprocessor/31869 (stringifying empty macros)

libcpp:
PR preprocessor/31869
* macro.c (stringify_arg): Handle NULL source token in padding
token where previous padding token did not have source token with
preceding whitespace.

gcc/testsuite:
* gcc.dg/cpp/strify5.c: New test.

From-SVN: r145989
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/strify5.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c