http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46686
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-09 17:57:57 UTC --- With addr2line, the output looks like: #5 0x40064C in MAIN__ at test.f90:6 without #5 0x40064C TODO: For Windows, one should be able to make use of SymFromAddr + SymGetLineFromAddr64 + IMAGEHLP_LINE64 to obtain the symbol name, the file and the line number. Cf. http://msdn.microsoft.com/en-us/library/windows/desktop/ms681323%28v=vs.85%29.aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/ms680578%28v=vs.85%29.aspx TODO 2: For Darwin exists atos which is similar to addr2line, cf. http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/atos.1.html TODO 3: Update 4.7 release notes.