From: Richard Biener Date: Tue, 15 Sep 2015 08:00:30 +0000 (+0000) Subject: re PR lto/67568 (lto-streamer-in.c sanitizer runtime error: load of value 255, which... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9dfad6dff5a02fd143455c0d6aac78de3606b18;p=gcc.git 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 PR lto/67568 * lto-streamer.h (lto_location_cache::current_sysp): Properly initialize. * lto-streamer-out.c (clear_line_info): Likewise. From-SVN: r227779 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d778da720..7eace8ef656 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-09-15 Richard Biener + + 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 * doc/match-and-simplify.texi: Fix wording. 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;