https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900
Jeremy Bettis <jeremy at bettis dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremy at bettis dot org --- Comment #5 from Jeremy Bettis <jeremy at bettis dot org> --- I think I've narrowed the problem to the decrement logic in libcpp/files.cc:_cpp_stack_file(). I think that for locations above LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES, that subtracting one from the location is invalid.