This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/80437] large decimal numbers in diagnostics are hard to read
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 20:20:39 +0000
- Subject: [Bug other/80437] large decimal numbers in diagnostics are hard to read
- Auto-submitted: auto-generated
- References: <bug-80437-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437
--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
If the warning is based of a const, maybe lead with that e.g. in the 2nd place
here:
bug.c:11:5: warning: 'memset': specified size 18446744073709551611 (aka
0xffff_ffff_ffff_fffb, 1<<64 - 5, SOME_CONST) exceeds maximum object size
PTRDIFF_MAX (aka 9223372036854775807, 0x7fff_ffff_ffff_ffff, 1<<63 - 1)