This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/65559] [5/6 Regression] lto1.exe: internal compiler error: in read_cgraph_and_symbols, at lto/lto.c:2947
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Apr 2015 14:44:05 +0000
- Subject: [Bug lto/65559] [5/6 Regression] lto1.exe: internal compiler error: in read_cgraph_and_symbols, at lto/lto.c:2947
- Auto-submitted: auto-generated
- References: <bug-65559-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65559
--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that the issue should only cause option merging to be skipped for files in
archives (and that, too, on x86_64-linux). Though compared to the 4.9 branch
we do
fd = open (argv[i], O_RDONLY);
if (fd == -1)
{
lto_argv[lto_argc++] = argv[i];
continue;
}
vs.
fd = open (argv[i], O_RDONLY);
if (fd == -1)
continue;
so we add the file to later processing even if we failed to open it. Thus,
does removing _that_ also fix the issue?