re PR preprocessor/29612 (gcc --save-temps does not give "multi-character character constant" error)
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. From-SVN: r120257
This commit is contained in:
parent
311c6da40f
commit
9d30f270db
5 changed files with 46 additions and 1 deletions
|
@ -942,8 +942,8 @@ do_linemarker (cpp_reader *pfile)
|
|||
flag = read_flag (pfile, flag);
|
||||
if (flag == 4)
|
||||
new_sysp = 2;
|
||||
pfile->buffer->sysp = new_sysp;
|
||||
}
|
||||
pfile->buffer->sysp = new_sysp;
|
||||
|
||||
check_eol (pfile);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue