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
Showing
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/cpp/pr29612-1.c 15 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/pr29612-1.c
- gcc/testsuite/gcc.dg/cpp/pr29612-2.c 18 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/pr29612-2.c
- libcpp/ChangeLog 6 additions, 0 deletionslibcpp/ChangeLog
- libcpp/directives.c 1 addition, 1 deletionlibcpp/directives.c
Loading
Please register or sign in to comment