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

2009-10-30 Thread rguenth at gcc dot gnu dot org
--- 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 PR lto/41858

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

2009-10-29 Thread bstarynk at gcc dot gnu dot org
--- Comment #7 from bstarynk at gcc dot gnu dot org 2009-10-29 16:06 --- (In reply to comment #6) > I have a patch. > Richard's patch on http://gcc.gnu.org/ml/gcc/2009-10/msg00602.html seems to solve the original problem I've got http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01741.htm

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

2009-10-28 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-28 23:12 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

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

2009-10-28 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-28 23:10 --- Confirmed. There's a file-descriptor leak (well, we kepp to many of them open). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2009-10-28 Thread bstarynk at gcc dot gnu dot org
--- Comment #4 from bstarynk at gcc dot gnu dot org 2009-10-28 22:22 --- The linker is gold on Debian/Sid/Amd64 % /usr/bin/ld -v GNU gold (GNU Binutils for Debian 2.20) 1.9 It could be that it is that gold which crashes. Apparently, it open a lot of files, and when getting the MFILE e

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

2009-10-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-28 22:10 --- Well, it looks like you generated a pretty degenerate callgraph. Trying to reproduce. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41858

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

2009-10-28 Thread bstarynk at gcc dot gnu dot org
--- Comment #2 from bstarynk at gcc dot gnu dot org 2009-10-28 21:47 --- The attachment main.c is a source file generator and test case. Put it in an empty directory. First, compile it just with gcc main.c -o main [you could add other flags to gcc, you can use any flavor of gcc] Th

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

2009-10-28 Thread bstarynk at gcc dot gnu dot org
--- Comment #1 from bstarynk at gcc dot gnu dot org 2009-10-28 21:40 --- Created an attachment (id=18927) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18927&action=view) a small program which generates many files to exhibit the bug The attached main.c file generates many files.