[Bug other/80437] large decimal numbers in diagnostics are hard to read
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 1 20:17:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Maybe could also make creative use of underscores in large hex values to make
things easier on the eye e.g.:
bug.c:11:5: warning: 'memset': specified size 18446744073709551611 (aka
0xffff_ffff_ffff_fffb, 1<<64 - 5, SOME_CONST) exceeds maximum object size
9223372036854775807 (aka 0x7fff_ffff_ffff_ffff, 1<<63 - 1, SOME_OTHER_CONST)
More information about the Gcc-bugs
mailing list