[Bug c/94230] provide an option to change the size limitation for -Wmisleading-indent
qinzhao at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 20 14:57:27 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230
--- Comment #2 from qinzhao at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #1)
> The size limitation is given from the way columns, lines, blocks and
> location ranges are encoded in location_t, which is a 32-bit number.
> See libcpp/include/line-map.h comment above location_t typedef.
> If you have very long lines (I think more than 4095 columns), the code is
> badly formatted and -Wmisleading-indentation just doesn't make sense.
does this mean, for a 32-bit number, the size limitation cannot be changed
anymore?
if we use 64-bit number for it, will that resolve the issue?
More information about the Gcc-bugs
mailing list