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 #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

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