This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Nov 2016 12:23:27 +0000
- Subject: [Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552
- Auto-submitted: auto-generated
- References: <bug-78555-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Author: trippels
Date: Wed Nov 30 12:22:55 2016
New Revision: 243012
URL: https://gcc.gnu.org/viewcvs?rev=243012&root=gcc&view=rev
Log:
Fix part of PR78555 - gcc/real.c:2890:25: runtime error: left shift of negative
value -125
PR ipa/78555
* real.c (real_hash): Add cast to avoid left
shifting of negative values.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/real.c