diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-11-19 09:27:12 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-11-19 09:27:12 +0100 |
commit | 46ce03de3afe6dcd7b23572ada199c28ffc10e70 (patch) | |
tree | 5835d3decb0a09480820c64a42a01462dccceb96 /gcc | |
parent | ee1326921d7cb8645bed87b2d9b71f1f74eb6605 (diff) | |
download | gcc-46ce03de3afe6dcd7b23572ada199c28ffc10e70.zip gcc-46ce03de3afe6dcd7b23572ada199c28ffc10e70.tar.gz gcc-46ce03de3afe6dcd7b23572ada199c28ffc10e70.tar.bz2 |
re PR preprocessor/60736 (Crash in preprocessor including stdc-predef.h when it does not exist on glibc-based systems)
PR preprocessor/60736
* include/cpplib.h (cpp_errno_filename): New prototype.
* errors.c (cpp_errno): Don't handle msgid "" specially, use
_(msgid) instead of msgid as argument to cpp_error.
(cpp_errno_filename): New function.
* files.c (read_file_guts): Use cpp_errno_filename instead of
cpp_errno.
(open_file_failed): Likewise. Use file->name if file->path is NULL
in diagnostics.
From-SVN: r230591
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions