re PR tree-optimization/90211 (ICE: tree check: expected ssa_name, have real_cst...
authorJakub Jelinek <jakub@redhat.com>
Wed, 24 Apr 2019 08:13:29 +0000 (10:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 24 Apr 2019 08:13:29 +0000 (10:13 +0200)
commit2bd49e6b64a450c9da88b13a338b0d194008f5bd
treefff1f299e3b40378a41df978018be9262290dda7
parent9bedfe1899e6f29cb51a1bad06bab7d3082fe251
re PR tree-optimization/90211 (ICE: tree check: expected ssa_name, have real_cst in first_readonly_imm_use, at ssa-iterators.h:351)

PR tree-optimization/90211
* tree-parloops.c (try_create_reduction_list): Ignore phi arguments
which are not SSA_NAMEs.

* gcc.dg/autopar/pr90211.c: New test.

From-SVN: r270533
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr90211.c [new file with mode: 0644]
gcc/tree-parloops.c