re PR preprocessor/39646 (__FILE__ breaks for empty file name)
libcpp: PR preprocessor/39646 * include/line-map.h (enum lc_reason): Add LC_RENAME_VERBATIM. * line-map.c (linemap_add): Handle LC_RENAME_VERBATIM. * directives.c (do_line, do_linemarker): Use LC_RENAME_VERBATIM in place of LC_RENAME. gcc/testsuite: * gcc.dg/cpp/line8.c: New test. From-SVN: r146319
This commit is contained in:
committed by
Joseph Myers
parent
b8add5942c
commit
c7f9c0b983
@@ -1,3 +1,11 @@
|
||||
2009-04-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR preprocessor/39646
|
||||
* include/line-map.h (enum lc_reason): Add LC_RENAME_VERBATIM.
|
||||
* line-map.c (linemap_add): Handle LC_RENAME_VERBATIM.
|
||||
* directives.c (do_line, do_linemarker): Use LC_RENAME_VERBATIM in
|
||||
place of LC_RENAME.
|
||||
|
||||
2009-04-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR preprocessor/39647
|
||||
|
||||
Reference in New Issue
Block a user