[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-06-07 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-06-07 16:21 --- (In reply to comment #10) > That's correct, it shouldn't compile. > The OpenMP standard doesn't allow != comparisons in omp for condition, only <, > <=, >, >=. Is it so difficult to write that in the error message? Wo

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-06-07 Thread jakub 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

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-06-07 Thread gccbug at oxyware dot com
--- Comment #9 from gccbug at oxyware dot com 2010-06-07 12:12 --- The patch doesn't seem to handle != as a terminating condition: #pragma omp parallel for for (int i = 0; i != 1000; i++) {} doesn't compile on 4.4.1, whereas i<1000 does. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-04-30 18:56 --- Fixed for 4.4+. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-30 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-04-30 18:42 --- Subject: Bug 43893 Author: jakub Date: Fri Apr 30 18:41:42 2010 New Revision: 158942 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158942 Log: PR c/43893 * c-omp.c (c_finish_omp_for): Handle a

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-26 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-04-26 20:11 --- Subject: Bug 43893 Author: jakub Date: Mon Apr 26 20:11:01 2010 New Revision: 158746 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158746 Log: PR c/43893 * c-omp.c (c_finish_omp_for): Handle a

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-26 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-26 20:07 --- Subject: Bug 43893 Author: jakub Date: Mon Apr 26 20:07:10 2010 New Revision: 158745 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158745 Log: PR c/43893 * c-omp.c (c_finish_omp_for): Handle a

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-26 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-04-26 17:39 --- Created an attachment (id=20496) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20496&action=view) gcc46-pr43893.patch Fix I'm going to test. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43893

[Bug c/43893] Error: Invalid controlling predicate with -fopenmp

2010-04-26 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org