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: Thu, 22 Jun 2017 11:19:08 +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 #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Jun 22 11:18:36 2017
New Revision: 249521
URL: https://gcc.gnu.org/viewcvs?rev=249521&root=gcc&view=rev
Log:
Backport r248060
2017-06-22 Martin Liska <mliska@suse.cz>
Backport from mainline
2017-05-15 Martin Liska <mliska@suse.cz>
PR driver/31468
* gcc.c (process_command): Do not allow empty argument of -o option.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/gcc.c