https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60736

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 11 09:03:34 2016
New Revision: 233318

URL: https://gcc.gnu.org/viewcvs?rev=233318&root=gcc&view=rev
Log:
        Backported from mainline
        2015-11-19  Jakub Jelinek  <ja...@redhat.com>

        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.

Modified:
    branches/gcc-4_9-branch/libcpp/ChangeLog
    branches/gcc-4_9-branch/libcpp/errors.c
    branches/gcc-4_9-branch/libcpp/files.c
    branches/gcc-4_9-branch/libcpp/include/cpplib.h

Reply via email to