This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/77486] ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Apr 2017 16:07:10 +0000
- Subject: [Bug middle-end/77486] ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890
- Auto-submitted: auto-generated
- References: <bug-77486-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77486
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't believe that, because the code now reads:
case rvc_normal:
h |= (unsigned int)REAL_EXP (r) << 3;
break;
That has changed already in November: r243012.