diff options
author | Richard Guenther <rguenther@suse.de> | 2009-10-30 15:58:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-10-30 15:58:57 +0000 |
commit | b207f9008294b36b6f5c1fcd6876b5720815bcb1 (patch) | |
tree | 6a6d371bbddb27aa20de3609df1e2686ed5dae1c /gcc/lto-streamer.h | |
parent | 62f9f3cebf6f21cf17c907d3797ee2c18c4e766a (diff) | |
download | gcc-b207f9008294b36b6f5c1fcd6876b5720815bcb1.tar.gz |
re PR lto/41858 (-flto -O2 crashes when many source files.)
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.
From-SVN: r153758
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; |