This is pretty widespread. I have attached one example, but I see it in many programs. How to repeat: Compile with -g Do a next couple of times: Notice, that PC is jumping back and forth. Also notice, that there is no linenumbers for lines 19 20 and 27
-- Summary: Gfortran 4.5.0 emits wrong linenumbers Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nikolay at totalviewtech dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45186