Hi, David and Jakub, Per the discussion we had for PR94230: provide an option to change the size limitation for -Wmisleading-indent https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230>
I come up with the following simple patch per David’s suggestion: Provide a new first class option -flocation-ranges to control enabling/disablng range tracking when recording source locations. The default value for this option is enabling the range tracking. When specify -fno-location-ranges, disable the range tracking to save space for column tracking. I have tested this GCC to build our huge application by adding -fno-location-ranges, the whole build completed without any issue. and -Wmisleading-indent also emitted several helpful warning message during building. I am running bootstrap right now. Could you please take a look at the attached patch? thanks. Qing