Hi! On Thu, 5 Jun 2008 12:04:30 -0400, Jakub Jelinek <[email protected]> wrote: > --- gcc/omp-low.c (.../trunk) (revision 136314) > +++ gcc/omp-low.c (.../branches/gomp-3_0-branch) (revision 136352) > @@ -223,20 +222,223 @@ extract_omp_for_data (tree for_stmt, str > fd->sched_kind = OMP_CLAUSE_SCHEDULE_KIND (t); > fd->chunk_size = OMP_CLAUSE_SCHEDULE_CHUNK_EXPR (t); > break; > + case OMP_CLAUSE_COLLAPSE: > + if (fd->collapse > 1) > + { > + collapse_iter = &OMP_CLAUSE_COLLAPSE_ITERVAR (t); > + collapse_count = &OMP_CLAUSE_COLLAPSE_COUNT (t); > + } > default: > break; > }
Not wrong per se -- but once you add additional cases. Committed in
r212971:
commit 757abb462ac4cb6542b3172fc8285173bfe5b3f7
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Jul 24 08:27:34 2014 +0000
Add missing break statement.
gcc/
* omp-low.c (extract_omp_for_data): Add missing break statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212971
138bc75d-0d04-0410-961f-82ee72b054a4
---
gcc/ChangeLog | 4 ++++
gcc/omp-low.c | 1 +
2 files changed, 5 insertions(+)
diff --git gcc/ChangeLog gcc/ChangeLog
index b954245..b436332 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-24 Thomas Schwinge <[email protected]>
+
+ * omp-low.c (extract_omp_for_data): Add missing break statement.
+
2014-07-24 Richard Biener <[email protected]>
* tree-inline.h (estimate_move_cost): Add speed_p parameter.
diff --git gcc/omp-low.c gcc/omp-low.c
index 1b1cf2c..1ee1c3a 100644
--- gcc/omp-low.c
+++ gcc/omp-low.c
@@ -341,6 +341,7 @@ extract_omp_for_data (gimple for_stmt, struct omp_for_data
*fd,
collapse_iter = &OMP_CLAUSE_COLLAPSE_ITERVAR (t);
collapse_count = &OMP_CLAUSE_COLLAPSE_COUNT (t);
}
+ break;
default:
break;
}
Grüße,
Thomas
pgpSAyclIyRqv.pgp
Description: PGP signature
