PR c++/25294
* directives.c (do_pragma): If pragma line ends with multi-line block comment, end the saved deferred pragma string before that comment. Handle embedded '\0' chars on the pragma line. * gcc.dg/pragma-pack-3.c: New test. * g++.dg/parse/pragma3.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109201 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/parse/pragma3.C 26 additions, 0 deletionsgcc/testsuite/g++.dg/parse/pragma3.C
- gcc/testsuite/gcc.dg/pragma-pack-3.c 27 additions, 0 deletionsgcc/testsuite/gcc.dg/pragma-pack-3.c
- libcpp/ChangeLog 7 additions, 0 deletionslibcpp/ChangeLog
- libcpp/directives.c 49 additions, 4 deletionslibcpp/directives.c
Loading
Please register or sign in to comment