-
- Downloads
re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.)
libcpp PR libcpp/33415: * charset.c (_cpp_convert_input): Add buffer_start argument. Ignore UTF-8 BOM if seen. * internal.h (_cpp_convert_input): Add argument. * files.c (struct _cpp_file) <buffer_start>: New field. (destroy_cpp_file): Free buffer_start, not buffer. (_cpp_pop_file_buffer): Likewise. (read_file_guts): Update. gcc/testsuite PR libcpp/33415: * gcc.dg/cpp/pr33415.c: New file. From-SVN: r134507
Showing
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/cpp/pr33415.c 6 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/pr33415.c
- libcpp/ChangeLog 11 additions, 0 deletionslibcpp/ChangeLog
- libcpp/charset.c 31 additions, 9 deletionslibcpp/charset.c
- libcpp/files.c 14 additions, 6 deletionslibcpp/files.c
- libcpp/internal.h 2 additions, 2 deletionslibcpp/internal.h
Loading
Please register or sign in to comment