r242928 - in /trunk/gcc: ChangeLog config/rs600...

trippels@gcc.gnu.org trippels@gcc.gnu.org
Mon Nov 28 18:33:00 GMT 2016


Author: trippels
Date: Mon Nov 28 18:33:19 2016
New Revision: 242928

URL: https://gcc.gnu.org/viewcvs?rev=242928&root=gcc&view=rev
Log:
Fix PR78556 - left shift of negative values

Running bootstrap-ubsan on ppc64le shows many instances of e.g.:
 config/rs6000/rs6000.c:6217:36: runtime error: left shift of negative value -12301

        PR target/78556
	* config/rs6000/rs6000.c (vspltis_constant): Add casts to avoid
	left shifting of negative values.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c



More information about the Gcc-cvs mailing list