aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-09-03 11:01:14 +0000
committerTom de Vries <tom@codesourcery.com>2015-09-03 11:01:14 +0000
commit8d259813abe62590b88f4234e71a996fd72d6963 (patch)
tree135974571dbf7f23c3c4e4d50e4fb8a510ae8965 /libgomp/testsuite/libgomp.c
parent351987824ba0fdc3c80470f55b29482e55a8095b (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@227437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.c')
-rw-r--r--libgomp/testsuite/libgomp.c/autopar-2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c/autopar-2.c b/libgomp/testsuite/libgomp.c/autopar-2.c
new file mode 100644
index 00000000000..821a4dabc47
--- /dev/null
+++ b/libgomp/testsuite/libgomp.c/autopar-2.c
@@ -0,0 +1,4 @@
+/* { dg-do run } */
+/* { dg-additional-options "-ftree-parallelize-loops=4 -ffast-math --param parloops-chunk-size=100" } */
+
+#include "autopar-1.c"