This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/41858] -flto -O2 crashes when many source files.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]