aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-09-15 08:00:30 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-09-15 08:00:30 +0000
commita9dfad6dff5a02fd143455c0d6aac78de3606b18 (patch)
treefdbf640dbac078cde965835b450fd4b49398fdc4
parent07a4fb4bbf09300f60bcfbd7588c46bd63c6ac9f (diff)
downloadgcc-a9dfad6dff5a02fd143455c0d6aac78de3606b18.zip
gcc-a9dfad6dff5a02fd143455c0d6aac78de3606b18.tar.gz
gcc-a9dfad6dff5a02fd143455c0d6aac78de3606b18.tar.bz2
re PR lto/67568 (lto-streamer-in.c sanitizer runtime error: load of value 255, which is not a valid value for type 'bool')
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. From-SVN: r227779
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/lto-streamer-out.c1
-rw-r--r--gcc/lto-streamer.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 29d778d..7eace8e 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 b6bc515..d8a7ced 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 21c41c5..5aae9e9 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;