This gimplify.c patch adds to the omp clause scanning to handle dynamic array cases, mainly to properly handle dimension biases of GOMP_MAP_DYNAMIC_ARRAYs by making sure the bias field is seen in the omp-ctx. Thanks, Chung-Lin gcc/ * gimplify.c (gimplify_scan_omp_clauses): For dynamic array map kinds, make sure bias in each dimension are put into firstprivate variables.