------- Comment #6 from burnus at gcc dot gnu dot org 2008-06-14 17:00 ------- For completeness, the line was added by r128676 | fxcoudert | 2007-09-23 01:48:02 +0200 (So, 23. Sep 2007) | 5 lines PR fortran/33528
The invalid read happens for linemap_add's "to_file". Above the function there is the note: The text pointed to by TO_FILE must have a lifetime at least as long as the final call to lookup_line (). My feeling is that current_file->filename is freed too early. FX, do you have an idea? -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36276