* lto-wrapper.c (run_gcc): Pass the LTO section name to
simple_object_start_read.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183433
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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);