[Bug tree-optimization/82493] [8 Regression] UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 10 10:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82493

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-10
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
            Summary|UBSAN in                    |[8 Regression] UBSAN in
                   |gcc/sbitmap.c:368:28:       |gcc/sbitmap.c:368:28:
                   |runtime error: shift        |runtime error: shift
                   |exponent 64 is too large    |exponent 64 is too large
                   |for 64-bit type 'long       |for 64-bit type 'long
                   |unsigned int'               |unsigned int'
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got patch for that.


More information about the Gcc-bugs mailing list