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

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 9 15:25:00 GMT 2017


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


More information about the Gcc-bugs mailing list