diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-09-03 11:01:14 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-09-03 11:01:14 +0000 |
commit | 1b96e9a4bfb7d1ed3e4795288b69e0ba8b08f330 (patch) | |
tree | 135974571dbf7f23c3c4e4d50e4fb8a510ae8965 /libgomp | |
parent | 8050766eaef0077f0af28dab1c0fe6f1aad724bb (diff) | |
download | gcc-1b96e9a4bfb7d1ed3e4795288b69e0ba8b08f330.zip gcc-1b96e9a4bfb7d1ed3e4795288b69e0ba8b08f330.tar.gz gcc-1b96e9a4bfb7d1ed3e4795288b69e0ba8b08f330.tar.bz2 |
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.
From-SVN: r227437
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/autopar-2.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 71e1fba..d5aaa48 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2015-09-03 Tom de Vries <tom@codesourcery.com> + + PR tree-optimization/65637 + * testsuite/libgomp.c/autopar-2.c: New test. + 2015-08-29 Tom de Vries <tom@codesourcery.com> PR tree-optimization/46193 diff --git a/libgomp/testsuite/libgomp.c/autopar-2.c b/libgomp/testsuite/libgomp.c/autopar-2.c new file mode 100644 index 0000000..821a4da --- /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" |