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: Mon, 09 Jan 2017 15:25:07 +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 #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Jan 9 15:24:35 2017
New Revision: 244227
URL: https://gcc.gnu.org/viewcvs?rev=244227&root=gcc&view=rev
Log:
Do not error when -E provided (PR pch/78970).
2017-01-09 Martin Liska <mliska@suse.cz>
PR pch/78970
* gcc.c (driver_handle_option): Handle OPT_E and set
have_E.
(lookup_compiler): Do not show error message with have_E.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c