[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 19 15:47:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #43696|0                           |1
        is obsolete|                            |

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43702
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43702&action=edit
gcc8-pr84945.patch

Untested fix with __cpu_features2 var for features 32+.


More information about the Gcc-bugs mailing list