https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65637
--- Comment #13 from vries at gcc dot gnu.org --- Author: vries Date: Thu Sep 3 11:01:14 2015 New Revision: 227437 URL: https://gcc.gnu.org/viewcvs?rev=227437&root=gcc&view=rev Log: Fix inner loop phi in expand_omp_for_static_chunk 2015-09-03 Tom de Vries <t...@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. Added: trunk/libgomp/testsuite/libgomp.c/autopar-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/libgomp/ChangeLog