[PATCH] Ensure start_source_file and end_source_file debug hook calls in gfortran always match (PR debug/33739)
Sat Dec 8 13:43:00 GMT 2007
Jakub Jelinek wrote:
> Attached are two approaches.
> The second one calls the dbg hooks immediately during load_file, but moves
> the gfc_new_file call later on after debug hooks are initialized.
> The first one instead records the various file change events we want to
> pass to debug_hooks in a vector, with gfc_linebuf pointers showing what
> events should be reported at what line.
> So, for stabs' sake I think the first approach is better, though of course
> the second approach is simpler.
Let's go for the first approach then.
OK for the trunk. Can you also cite PR34359 in your commit?
Thanks for the fix,
More information about the Gcc-patches