OSDN Git Service

PR preprocessor/29612
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Dec 2006 08:15:08 +0000 (08:15 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Dec 2006 08:15:08 +0000 (08:15 +0000)
commit5d70627e0fc18d73184b9dc1d3d23ace30710dab
tree56b100954658b22feb7776f7f8a55f56531a16e0
parent702addadee81263ac543b28d14fd7725d60247ac
PR preprocessor/29612
* directives.c (do_linemarker): Set pfile->buffer->sysp always, not
only when new_sysp is non-zero.

* gcc.dg/cpp/pr29612-1.c: New test.
* gcc.dg/cpp/pr29612-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120257 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr29612-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pr29612-2.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c