This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/78970] GCC crashes if input file is dash
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jan 2017 14:08:14 +0000
- Subject: [Bug pch/78970] GCC crashes if input file is dash
- Auto-submitted: auto-generated
- References: <bug-78970-4@http.gcc.gnu.org/bugzilla/>
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