mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 22:01:17 +08:00
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
This commit is contained in:
parent
0b7d975df8
commit
f2ede0eea0
@ -1,5 +1,14 @@
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user