This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43893] Error: Invalid controlling predicate with -fopenmp
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2010 12:17:11 -0000
- Subject: [Bug c/43893] Error: Invalid controlling predicate with -fopenmp
- References: <bug-43893-19088@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from jakub at gcc dot gnu dot org 2010-06-07 12:17 -------
That's correct, it shouldn't compile.
The OpenMP standard doesn't allow != comparisons in omp for condition, only <,
<=, >, >=.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43893