https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230
--- Comment #8 from qinzhao at gcc dot gnu.org --- (In reply to David Malcolm from comment #6) > If you have a huge workload, one possible workaround would be to disable > range tracking, perhaps tweaking line_table->default_range_bits, which would > give you a bit more "headroom". IIRC we don't currently expose a way to do > this, and probably some extra code would be needed. It's currently > hardcoded to 5. > > Perhaps some kind of -fno-location-ranges? It could either: > (a) don't attempt to store location ranges (would probably have to disable > e.g. fix-it hints) > (b) set line_table->default_range_bits to 0, so that all ranges have to go > to the ad-hoc table, but buying space for more locations. > Hi, David, I have sent a Patch review request to you (Cc'ing gcc-patc...@gcc.gnu.org) on 4/3/2020. this patch is per your above approach b. please take a look and let me know your opinion on it.