diff options
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 1a4aea9..e1fb723 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -1911,7 +1911,11 @@ scan_omp_1_op (tree *tp, int *walk_subtrees, void *data) if (ctx && TYPE_P (t)) *tp = remap_type (t, &ctx->cb); else if (!DECL_P (t)) - *walk_subtrees = 1; + { + *walk_subtrees = 1; + if (ctx) + TREE_TYPE (t) = remap_type (TREE_TYPE (t), &ctx->cb); + } break; } |