* gimplify.c (gimplify_expr_in_ctx): Add OMP_CTX_P argument.
Temporarily switch to OMP_CTX_P omp context.
(gimplify_scan_omp_clauses) <case OMP_CLAUSE_SCHEDULE>: In combined
parallel loop, gimplify schedule chunk expression in outer context.
(gimplify_omp_for): For combined parallel loop, gimplify INIT, COND
and INCR expressions in parent omp context.
* gcc.dg/gomp/for-18.c: New test.
* gcc.dg/gomp/for-19.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-20050608-branch@106943 138bc75d-0d04-0410-961f-82ee72b054a4