Bootstrapped / tested on x86_64-unknown-linux-gnu, applied.

Richard.

2015-09-15  Richard Biener  <rguent...@suse.de>

        PR lto/67568
        * lto-streamer.h (lto_location_cache::current_sysp): Properly
        initialize.
        * lto-streamer-out.c (clear_line_info): Likewise.

Index: gcc/lto-streamer.h
===================================================================
*** gcc/lto-streamer.h  (revision 227778)
--- gcc/lto-streamer.h  (working copy)
*************** public:
*** 320,326 ****
                       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)
    {
      gcc_assert (!current_cache);
      current_cache = this;
--- 320,326 ----
                       struct data_in *data_in);
    lto_location_cache ()
       : loc_cache (), accepted_length (0), current_file (NULL), current_line 
(0),
!        current_col (0), current_sysp (false), current_loc (UNKNOWN_LOCATION)
    {
      gcc_assert (!current_cache);
      current_cache = this;
Index: gcc/lto-streamer-out.c
===================================================================
*** gcc/lto-streamer-out.c      (revision 227778)
--- gcc/lto-streamer-out.c      (working copy)
*************** clear_line_info (struct output_block *ob
*** 66,71 ****
--- 66,72 ----
    ob->current_file = NULL;
    ob->current_line = 0;
    ob->current_col = 0;
+   ob->current_sysp = false;
  }
  
  

Reply via email to