This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/31468] Calling gcc with empty output filename can remove crt0.o (crt1.o on linux)
- 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, 15 May 2017 12:49:24 +0000
- Subject: [Bug driver/31468] Calling gcc with empty output filename can remove crt0.o (crt1.o on linux)
- Auto-submitted: auto-generated
- References: <bug-31468-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31468
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon May 15 12:48:35 2017
New Revision: 248060
URL: https://gcc.gnu.org/viewcvs?rev=248060&root=gcc&view=rev
Log:
Do not allow empty argument of -o option (PR driver/31468).
2017-05-15 Martin Liska <mliska@suse.cz>
PR driver/31468
* gcc.c (process_command): Do not allow empty argument of -o option.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c