[Bug lto/41635] inappropriate assertion that fopen succeeds

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 9 13:25:00 GMT 2009



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-09 13:25 -------
Subject: Bug 41635

Author: rguenth
Date: Fri Oct  9 13:24:59 2009
New Revision: 152588

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152588
Log:
2009-10-09  Richard Guenther  <rguenther@suse.de>

        PR driver/41637
        * lto-wrapper.c (ltrans_output_file, flto_out, args_name): New
        globals.
        (lto_wrapper_exit): New function.
        (fatal): Use it.
        (fatal_perror): Likewise.
        (fork_execute): Use global args_name, do not free it.
        (run_gcc): Use global ltrans_output_file, flto_out, do not free them.
        * lto-streamer.h: Remove duplicate prototypes.

        PR lto/41635
        PR lto/41636
        lto/
        * lto.c (read_cgraph_and_symbols): Do not assert we can open
        a file.
        * lto-elf.c (init_shdr##BITS): Fix i18n problems.
        (init_ehdr##BITS): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer.h
    trunk/gcc/lto-wrapper.c
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto-elf.c
    trunk/gcc/lto/lto.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41635



More information about the Gcc-bugs mailing list