Fix inner loop phi in expand_omp_for_static_chunk
commit281001a9a2e363dcabc6799c0e095c7a9cac5775
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:01:14 +0000 (3 11:01 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:01:14 +0000 (3 11:01 +0000)
tree135974571dbf7f23c3c4e4d50e4fb8a510ae8965
parent4d556e29f0acd5a2baeb348dc0b3185d4457e987
Fix inner loop phi in expand_omp_for_static_chunk

2015-09-03  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/65637
* omp-low.c (find_phi_with_arg_on_edge): New function.
(expand_omp_for_static_chunk): Fix inner loop phi.

* testsuite/libgomp.c/autopar-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227437 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/autopar-2.c [new file with mode: 0644]