re PR target/88965 (powerpc64le vector builtin hits ICE in verify_gimple)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Jan 2019 22:30:44 +0000 (23:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Jan 2019 22:30:44 +0000 (23:30 +0100)
commit8b5d2c55128d953d1d2d29362ea4522057bc016a
tree44f617a4906758a7f1066d57e752701a14773ed3
parent18a23298d3a61bb387c5c67a3a867e11118408af
re PR target/88965 (powerpc64le vector builtin hits ICE in verify_gimple)

PR target/88965
* config/rs6000/rs6000.c: Include tree-vrp.h and tree-ssanames.h.
(rs6000_gimple_fold_builtin): If MEM_REF address doesn't satisfy
is_gimple_mem_ref_addr predicate, force it into a SSA_NAME first.

* gcc.target/powerpc/pr88965.c: New test.

From-SVN: r268166
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr88965.c [new file with mode: 0644]