This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33067] Awkward long decimal expansion for double literal in error.
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Oct 2011 11:03:04 +0000
- Subject: [Bug c++/33067] Awkward long decimal expansion for double literal in error.
- Auto-submitted: auto-generated
- References: <bug-33067-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33067
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #21 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-11 11:03:04 UTC ---
On x86_64-linux, 4.7 will output:
33067.C:2:18: error: no match for âoperator<â in â1.1000000000000001e+0 < tâ
or, for example,
33067.C:2:19: error: no match for âoperator<â in â1.10000002e+0f < tâ
in case of 1.1f, which are a definite improvement. For other issues in this
area, the reference is PR49152.