Re: Fix line-maps wrt LTO

2015-03-26 Thread Jack Howarth
Jan, It appears that https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61250 is due to a problem in linemap_macro_map_lookup. It is hard to debug as the pch test harness doesn't produce a simple logged compile failure to re-execute but I can look at it from a core file in gdb. Unfortunately your pr

Fix line-maps wrt LTO

2015-03-25 Thread Jan Hubicka
Hi, I read linemap_line_start and I think I noticed few issues with respect to overflows and lines being added randomly. 1) line_delta is computed as to_line SOURCE_LINE (map, set->highest_line) I think the last inserted line is not very releavnt. What we care about is the base of the last