Hi! Bernhard mentioned on IRC that || would be better here, while it doesn't make a difference for the generated code, consistency is good and the compiler will turn it into | itself.
Committed to trunk. 2019-12-19 Jakub Jelinek <ja...@redhat.com> PR fortran/92977 * frontend-passes.c (call_external_blas): Use || instead of |. --- gcc/fortran/frontend-passes.c.jj 2019-12-19 00:32:21.975044770 +0100 +++ gcc/fortran/frontend-passes.c 2019-12-19 11:05:06.989540827 +0100 @@ -4390,7 +4390,7 @@ call_external_blas (gfc_code **c, int *w /* For now don't do anything in OpenMP workshare, it confuses its translation, which expects only the allowed statements in there. */ - if (in_omp_workshare | in_omp_atomic) + if (in_omp_workshare || in_omp_atomic) return 0; expr1 = co->expr1; Jakub