[Bug lto/47241] lto not work on mingw32, reporting 'ld.exe: could not unlink output file'
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 10 09:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47241
--- Comment #10 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-10 08:57:27 UTC ---
Author: ktietz
Date: Thu Feb 10 08:57:24 2011
New Revision: 169999
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169999
Log:
2011-02-10 Kai Tietz <kai.tietz@onevision.com>
PR lto/47241
* lto.c (lto_read_section_data): Free
fd_name in failure case.
For mingw targets don't hash file-descriptor.
(read_cgraph_and_symbols): Close current_lto_file
in failure case.
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto.c
More information about the Gcc-bugs
mailing list