https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Bernd Edlinger from comment #2) > Yes, but it wont fix dwarf-4 and also not the case > when this is not the first function. then we'll > have the .loc from the previous function extend to this one. I just tried out: - dwarf-4 - manually changing order of defs__f1 and defs__struct1IP in .s file The result look fine to me. So please show a concrete example where this produces wrong results.