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: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Aug 2017 03:48:02 +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
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #3)
> 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)
The underscores would make copying and pasting the values more difficult
though...