This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/78970] GCC crashes if input file is dash


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

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan 10 14:07:41 2017
New Revision: 244267

URL: https://gcc.gnu.org/viewcvs?rev=244267&root=gcc&view=rev
Log:
Error for '-' as filename of a precompiled header (PR pch/78970)

2017-01-10  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-05  Martin Liska  <mliska@suse.cz>

        PR pch/78970
        * gcc.c (lookup_compiler): Reject '-' filename for a precompiled
        header.
2017-01-10  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-05  Martin Liska  <mliska@suse.cz>

        PR pch/78970
        * c-opts.c (c_common_post_options): Reject '-' filename for a
precompiled
        header.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-opts.c
    branches/gcc-5-branch/gcc/gcc.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]