This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]