[Bug lto/41858] -flto -O2 crashes when many source files.
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 30 15:59:00 GMT 2009
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-30 15:59 -------
Subject: Bug 41858
Author: rguenth
Date: Fri Oct 30 15:58:57 2009
New Revision: 153758
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153758
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer.h
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41858
More information about the Gcc-bugs
mailing list