re PR c++/25294 (Bogus "unterminated comment" error from #pragma comment)
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. From-SVN: r109201
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