https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99654
--- Comment #17 from Sam James <sjames at gcc dot gnu.org> --- /* If we're keep track of location views and their reset points, and INSN is a reset point (i.e., it necessarily advances the PC), mark the next view in TABLE as reset. */ static void maybe_reset_location_view (rtx_insn *insn, dw_line_info_table *table) so I guess the expectation is (?) it's called before we end up with our second call, but it never is called when view = 12. Onlt dwarf2out_var_location calls maybe_reset_location_view.