[Bug target/92379] rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 14 09:40:44 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
https://gcc.gnu.org/g:50c96067c8ed60f4b3fcbee89fe31c905241b356commit
r10-7169-g50c96067c8ed60f4b3fcbee89fe31c905241b356Author: Aaron Sawdey
<acsawdey@linux.ibm.com>Date: Fri Mar 13 18:14:22 2020 -0500 Fix UBSAN
error, shifting 64 bit value by 64. 2020-03-13 Aaron Sawdey
<acsawdey@linux.ibm.com> PR target/92379 *
config/rs6000/rs6000.c (num_insns_constant_multi) Don't shift a
64-bit value by 64 bits (UB).
More information about the Gcc-bugs
mailing list