re PR middle-end/56231 (warning traces have bogus line information when using LTO)
authorRichard Biener <rguenther@suse.de>
Fri, 8 Feb 2013 12:55:13 +0000 (12:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Feb 2013 12:55:13 +0000 (12:55 +0000)
commite45cde982611c5a86c215dd4079ca7f0375e141b
tree2b580cff0a35536512ce08acfa951238833efcb5
parentc1ca73d819136e8fee6af5b8a616840ee59594d6
re PR middle-end/56231 (warning traces have bogus line information when using LTO)

2013-02-08  Richard Biener  <rguenther@suse.de>

PR lto/56231
* lto-streamer.h (struct data_in): Remove current_file, current_line
and current_col members.
* lto-streamer-out.c (lto_output_location): Stream changed bits
en-block for efficiency.
* lto-streamer-in.c (clear_line_info): Remove.
(lto_input_location): Cache current file, line and column
globally via local statics.  Read changed bits en-block.
(input_function): Do not call clear_line_info.
(lto_read_body): Likewise.
(lto_input_toplevel_asms): Likewise.

lto/
* lto-lang.c (lto_init): Do not enter a dummy file.

From-SVN: r195884
gcc/ChangeLog
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto-lang.c