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 #13 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan 10 14:08:42 2017
New Revision: 244268

URL: https://gcc.gnu.org/viewcvs?rev=244268&root=gcc&view=rev
Log:
Do not error when -E provided (PR pch/78970).

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

        Backport from mainline
        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:
    branches/gcc-5-branch/gcc/ChangeLog
    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]