LTO: display file name if LTO version check fails
authorMartin Liska <mliska@suse.cz>
Thu, 19 May 2016 15:02:30 +0000 (17:02 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 19 May 2016 15:02:30 +0000 (15:02 +0000)
commitb898d037f36e31b1ec3c33e9b254c86b213138d3
tree29895ab029af340313dd92aae40ea7874203c3d5
parentf65970cfd092c36035f7a3c683707c2604bcd4a3
LTO: display file name if LTO version check fails

* lto-section-in.c (lto_get_section_data): Call
lto_check_version with additional argument.
* lto-streamer.c (lto_check_version): Add new argument.
* lto-streamer.h (lto_check_version): Likewise.

From-SVN: r236464
gcc/ChangeLog
gcc/lto-section-in.c
gcc/lto-streamer.c
gcc/lto-streamer.h