diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-15 08:00:30 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-15 08:00:30 +0000 |
commit | 76e62595e165dd2ec4cff42d5e27f852a90a0b02 (patch) | |
tree | fdbf640dbac078cde965835b450fd4b49398fdc4 | |
parent | 9d1c70bf85a9050a20cd2be253ef7eb06250a824 (diff) | |
download | gcc-76e62595e165dd2ec4cff42d5e27f852a90a0b02.tar.gz |
2015-09-15 Richard Biener <rguenther@suse.de>
PR lto/67568
* lto-streamer.h (lto_location_cache::current_sysp): Properly
initialize.
* lto-streamer-out.c (clear_line_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227779 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/lto-streamer-out.c | 1 | ||||
-rw-r--r-- | gcc/lto-streamer.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d778da720..7eace8ef656 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2015-09-15 Richard Biener <rguenther@suse.de> + PR lto/67568 + * lto-streamer.h (lto_location_cache::current_sysp): Properly + initialize. + * lto-streamer-out.c (clear_line_info): Likewise. + +2015-09-15 Richard Biener <rguenther@suse.de> + * doc/match-and-simplify.texi: Fix wording. 2015-09-15 Bin Cheng <bin.cheng@arm.com> diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index b6bc515201d..d8a7ced5142 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -66,6 +66,7 @@ clear_line_info (struct output_block *ob) ob->current_file = NULL; ob->current_line = 0; ob->current_col = 0; + ob->current_sysp = false; } diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index 21c41c5a621..5aae9e9bfa7 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -320,7 +320,7 @@ public: struct data_in *data_in); lto_location_cache () : loc_cache (), accepted_length (0), current_file (NULL), current_line (0), - current_col (0), current_loc (UNKNOWN_LOCATION) + current_col (0), current_sysp (false), current_loc (UNKNOWN_LOCATION) { gcc_assert (!current_cache); current_cache = this; |