OSDN Git Service

2009-10-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Oct 2009 15:58:57 +0000 (15:58 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Oct 2009 15:58:57 +0000 (15:58 +0000)
commitf5a023c5da2de25e6ee5c583c44825de7bf1a87c
tree6a6d371bbddb27aa20de3609df1e2686ed5dae1c
parent81c308357d5c93761ae9e190978f14ac0d4b5287
2009-10-30  Richard Guenther  <rguenther@suse.de>

PR lto/41858
* lto-streamer.h (struct lto_file_decl_data): Remove fd member.

lto/
* lto.c (lto_file_read): Do not set file_data->fd.
(lto_read_section_data): Use a single-entry file-descriptor cache.
Do not check the result of xmalloc.
(free_section_data): Do not use file_data->fd.
(lto_read_all_file_options): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153758 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c