Commit f2ede0ee by Aldy Hernandez Committed by Aldy Hernandez

re PR lto/51916 (FAIL: gcc.dg/lto/trans-mem-3…

re PR lto/51916 (FAIL: gcc.dg/lto/trans-mem-3 c_lto_trans-mem-3_0.o-c_lto_trans-mem-3_1.o link, -flto (internal compiler error))

       PR lto/51916
        * lto-wrapper.c (run_gcc): Pass the LTO section name to
        simple_object_start_read.


Co-Authored-By: Iain Sandoe <developer@sandoe-acoustics.co.uk>
Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com>

From-SVN: r183433
parent 0b7d975d
2012-01-23 Aldy Hernandez <aldyh@redhat.com>
Patrick Marlier <patrick.marlier@gmail.com>
Iain Sandoe <developer@sandoe-acoustics.co.uk>
PR lto/51916
* lto-wrapper.c (run_gcc): Pass the LTO section name to
simple_object_start_read.
2012-01-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51895
* tree-sra.c (decide_one_param_reduction): Avoid sub-optimal
parameter decomposition into BLKmode components.
......
......@@ -479,7 +479,8 @@ run_gcc (unsigned argc, char *argv[])
fd = open (argv[i], O_RDONLY);
if (fd == -1)
continue;
sobj = simple_object_start_read (fd, file_offset, NULL, &errmsg, &err);
sobj = simple_object_start_read (fd, file_offset, "__GNU_LTO",
&errmsg, &err);
if (!sobj)
{
close (fd);
......
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