https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107002
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- David, any progress here? Should the diagnostic callers be more careful when passing multiple fixit locations to make sure they don't overlap (I think in this case they are even the exact same location), or should diagnostic-show-locus.cc recover from it? Given the same location for both, they are equal: (gdb) p last_correction->m_affected_bytes $34 = {start = 1, finish = 4} (gdb) p affected_bytes $35 = {start = 1, finish = 4} and so trying to create a column range for finish + 1 of the former to start - 1 of the latter is invalid.