https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85508
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 24 13:20:20 2018 New Revision: 259594 URL: https://gcc.gnu.org/viewcvs?rev=259594&root=gcc&view=rev Log: PR target/85508 * config/i386/i386.c (ix86_expand_vector_init_one_var): Use UINTVAL instead of INTVAL when shifting x left. * gcc.target/i386/pr85508.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr85508.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog