re PR target/85508 (runtime error in config/i386/i386.c)
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Apr 2018 13:20:20 +0000 (15:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Apr 2018 13:20:20 +0000 (15:20 +0200)
commit1704194ae7485f7faca06c026fbfc33233feae1d
treee040b649fa9605968ecf26fa647371aad23b6513
parent062c0a7b2f8dc58f8bb7c6d3448866812bfc75c1
re PR target/85508 (runtime error in config/i386/i386.c)

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.

From-SVN: r259594
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85508.c [new file with mode: 0644]