]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lto/ChangeLog
re PR lto/41858 (-flto -O2 crashes when many source files.)
authorRichard Guenther <rguenther@suse.de>
Fri, 30 Oct 2009 15:58:57 +0000 (15:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 30 Oct 2009 15:58:57 +0000 (15:58 +0000)
commitb207f9008294b36b6f5c1fcd6876b5720815bcb1
tree6a6d371bbddb27aa20de3609df1e2686ed5dae1c
parent62f9f3cebf6f21cf17c907d3797ee2c18c4e766a
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
gcc/ChangeLog
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c