[Bug middle-end/77486] ubsan detects runtime error: left shift of negative value -3 at real_hash in real.c:2890
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 5 16:07:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list