https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147
--- Comment #19 from David Malcolm <dmalcolm at gcc dot gnu.org> --- (In reply to David Malcolm from comment #17) > Created attachment 45660 [details] > Selftest coverage > > The attached reproduces the problem via a minimal selftest, and is also > fixed by attachment 45653 [details]. Thanks for creating this patch. I like that it imposes an upper limit on the value of a line number within an ordinary linemap relative to the line map's starting line, but I wonder if that upper limit needs to be lower than the one in your patch (e.g. what happens if the resulting location_t value hit limits like LINE_MAP_MAX_LOCATION etc).