diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-30 15:58:57 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-30 15:58:57 +0000 |
commit | f5a023c5da2de25e6ee5c583c44825de7bf1a87c (patch) | |
tree | 6a6d371bbddb27aa20de3609df1e2686ed5dae1c /gcc/lto-streamer.h | |
parent | 81c308357d5c93761ae9e190978f14ac0d4b5287 (diff) | |
download | gcc-f5a023c5da2de25e6ee5c583c44825de7bf1a87c.tar.gz |
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
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r-- | gcc/lto-streamer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index de1ee080b84..c3880b61efa 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -555,10 +555,6 @@ struct lto_file_decl_data /* Nonzero if this file should be recompiled with LTRANS. */ unsigned needs_ltrans_p : 1; - /* If the file is open, this is the fd of the mapped section. This - is -1 if the file has not yet been opened. */ - int fd; - /* Hash table maps lto-related section names to location in file. */ htab_t section_hash_table; |