diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-09 09:19:44 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-09 09:19:44 +0000 |
commit | a6f1094f56d9a3c78051b27f15a2ce820c4e0400 (patch) | |
tree | 620c8f65c69ea3864200b84390d44a4c7969a1f1 | |
parent | 52793acd3eb3e78b3b59df10ed77457c300a0c02 (diff) | |
download | gcc-a6f1094f56d9a3c78051b27f15a2ce820c4e0400.tar.gz |
Fix gcc_assert in expand_omp_for_static_chunk
2015-01-09 Tom de Vries <tom@codesourcery.com>
* omp-low.c (expand_omp_for_static_chunk): Fix assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219376 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/omp-low.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1db810abf8..d3d121ddff4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-01-09 Tom de Vries <tom@codesourcery.com> + + * omp-low.c (expand_omp_for_static_chunk): Fix assert. + 2015-01-09 Kito Cheng <kito@0xlab.org> PR rtl-optimization/64348 diff --git a/gcc/omp-low.c b/gcc/omp-low.c index d8ef88e5439..ed7e6627a42 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -6789,7 +6789,7 @@ expand_omp_for_static_chunk (struct omp_region *region, locus = redirect_edge_var_map_location (vm); add_phi_arg (nphi, redirect_edge_var_map_def (vm), re, locus); } - gcc_assert (!gsi_end_p (psi) && i == head->length ()); + gcc_assert (gsi_end_p (psi) && i == head->length ()); redirect_edge_var_map_clear (re); while (1) { |