]> gcc.gnu.org Git - gcc.git/commitdiff
re PR lto/46291 (Failed to bootstrap-lto)
authorDave Korn <dave.korn.cygwin@gmail.com>
Wed, 3 Nov 2010 23:13:51 +0000 (23:13 +0000)
committerDave Korn <davek@gcc.gnu.org>
Wed, 3 Nov 2010 23:13:51 +0000 (23:13 +0000)
PR lto/46291
* lto-plugin.c (claim_file_handler): Don't close file descriptor.

From-SVN: r166285

lto-plugin/ChangeLog
lto-plugin/lto-plugin.c

index 690970f8524242e8848ff1cd5fd589c4d94d6d58..690ea5ac40fe99ef0505562bc072862465be0200 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-03  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR lto/46291
+       * lto-plugin.c (claim_file_handler): Don't close file descriptor.
+
 2010-11-03  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        PR lto/46273
index 7df0d6f3c01128f52c2ce551d0b341145549e321..83b61d53188ff1784c77c2d96c7a20ebad35aaa1 100644 (file)
@@ -886,8 +886,6 @@ claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
  cleanup:
   if (obj.objfile)
     simple_object_release_read (obj.objfile);
-  if (file->fd >= 0)
-    close (file->fd);
 
   return LDPS_OK;
 }
This page took 0.058068 seconds and 5 git commands to generate.