re PR preprocessor/69869 (internal compiler error: Segmentation fault in call to...
authorJakub Jelinek <jakub@redhat.com>
Wed, 31 Jan 2018 08:31:52 +0000 (09:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 31 Jan 2018 08:31:52 +0000 (09:31 +0100)
commit1306a81d81747ccc36f3ca53af74a3d069fafb7d
tree2b05a215f7e85a7a5f2b75c760f521ae28a5992d
parent7b56ebc34708f685bd5cf47763d13614c7e707e1
re PR preprocessor/69869 (internal compiler error: Segmentation fault in call to skip_macro_block_comment when using '-traditional-cpp')

PR preprocessor/69869
* traditional.c (skip_macro_block_comment): Return bool, true if
the macro block comment is unterminated.
(copy_comment): Use return value from skip_macro_block_comment instead
of always false.

* gcc.dg/cpp/trad/pr69869.c: New test.

From-SVN: r257220
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/pr69869.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/traditional.c