aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1994-09-22 17:14:46 +0000
committerJason Merrill <merrill@gnu.org>1994-09-22 17:14:46 +0000
commiteeed1288b804a77aa2914567bb7bf06463076b3a (patch)
tree03dcf8cf34478c025bc60c09430f054739fd00b8 /gcc
parent6899f4cfb19bb8465a9334630bef80ef8946f7df (diff)
downloadgcc-eeed1288b804a77aa2914567bb7bf06463076b3a.zip
gcc-eeed1288b804a77aa2914567bb7bf06463076b3a.tar.gz
gcc-eeed1288b804a77aa2914567bb7bf06463076b3a.tar.bz2
(main): Discard the first executable once we've
exploited it. From-SVN: r8122
Diffstat (limited to 'gcc')
-rw-r--r--gcc/collect2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 5434691..7decccd 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -1201,6 +1201,7 @@ main (argc, argv)
return 0;
}
+ maybe_unlink(output_file);
outf = fopen (c_file, "w");
if (outf == (FILE *)0)
fatal_perror ("%s", c_file);