[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'

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 20 08:46:00 GMT 2018


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

--- Comment #9 from David Binderman <dcb314 at hotmail dot com> ---

It might be worthwhile putting in some code to detect when the number
of features goes over 64. Maybe a simple assert would be enough.

I suspect there is no need yet to have code to handle the over 64 case.

Just an idea.


More information about the Gcc-bugs mailing list