Commit 1473ab9a by Kai Tietz Committed by Kai Tietz

re PR lto/65559 (lto1.exe: internal compiler error: in read_cgraph_and_symbols, at lto/lto.c:2947)

        PR target/65559
        * lto-wrapper.c (run_gcc): Open filename
        with in binary-mode.

From-SVN: r222759
parent 6cefc504
2015-05-04 Kai Tietz <ktietz@redhat.com>
PR target/65559
* lto-wrapper.c (run_gcc): Open filename
with in binary-mode.
2015-05-03 Sandra Loosemore <sandra@codesourcery.com>
* doc/extend.texi (Variable Attributes, Type Attributes): Move
......
......@@ -934,7 +934,7 @@ run_gcc (unsigned argc, char *argv[])
filename[p - argv[i]] = '\0';
file_offset = (off_t) loffset;
}
fd = open (argv[i], O_RDONLY);
fd = open (filename, O_RDONLY | O_BINARY);
if (fd == -1)
{
lto_argv[lto_argc++] = argv[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment