]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/30363 (Support for -traditional-cpp is incomplete in current gcc...
authorFred Fish <fnf@specifix.com>
Mon, 7 Jan 2008 17:23:40 +0000 (17:23 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 7 Jan 2008 17:23:40 +0000 (17:23 +0000)
commit681c6ab0dac42efce0ef2169e193e2fd99c34153
treeaf95efa577b60bab897bc59c18fc2148c61eb432
parent2eac9a765c07d55499a32f7e8bbd76440969665a
re PR preprocessor/30363 (Support for -traditional-cpp is incomplete in current gcc relative to gcc 2.95.3)

libcpp
2008-01-07  Fred Fish  <fnf@specifix.com>
PR preprocessor/30363:
* traditional.c (replace_args_and_push): Add local variable
cxtquote, calculate the replacement text size assuming a
worst case of every input character quoted with backslash,
and properly handle output quoting of quote characters in
actual arguments used in function-like macros.
gcc/testsuite
2008-01-07  Fred Fish  <fnf@specifix.com>
PR preprocessor/30363:
* gcc.dg/cpp/trad/macroargs.c: Add code to test quoting in
macro expansions.

From-SVN: r131379
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/macroargs.c
libcpp/ChangeLog
libcpp/traditional.c