* lto-opts.c (lto_read_file_options): Check for missing section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162439
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-07-10 Andi Kleen <ak@linux.intel.com>
+
+ * lto-opts.c (lto_read_file_options): Check for missing section.
+
2010-07-22 Bernd Schmidt <bernds@codesourcery.com>
* ira.c (check_allocation): Correctly handle the case where an allocno
struct lto_input_block ib;
data = lto_get_section_data (file_data, LTO_section_opts, NULL, &len);
+ if (!data)
+ return;
header = (const struct lto_simple_header *) data;
opts_offset = sizeof (*header);