Add error checking to lto_section_read
authorAndi Kleen <ak@linux.intel.com>
Sun, 16 Oct 2011 23:22:32 +0000 (23:22 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Sun, 16 Oct 2011 23:22:32 +0000 (23:22 +0000)
commit5958009b73d6e0048123e934a37e7f21be747086
treec8444e075b56d5055f9758411b4aa1770e43cfcc
parentb74bdc61455f557fff3f87ac0984b01d137ada27
Add error checking to lto_section_read

gcc/lto/:

2011-10-09  Andi Kleen  <ak@linux.intel.com>

* lto.c (lto_section_read): Call fatal_error on IO or mmap errors.

From-SVN: r180065
gcc/lto/ChangeLog
gcc/lto/lto.c