diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-17 16:54:55 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-17 16:54:55 +0000 |
commit | 54b39471f512efdf10082eeb582b547aa501876e (patch) | |
tree | 094cc0273f4ec7282be76d39958afe957ba1eee8 /gcc/cp/cp-array-notation.c | |
parent | dbc87518ee7dbed441a2046d4b45335ba4408699 (diff) |
PR c++/70565
* cp-array-notation.c (expand_array_notation_exprs): Handle
OMP_PARALLEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244538 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-array-notation.c')
-rw-r--r-- | gcc/cp/cp-array-notation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c index a0c54fdd0102..36d66245224f 100644 --- a/gcc/cp/cp-array-notation.c +++ b/gcc/cp/cp-array-notation.c @@ -1198,6 +1198,10 @@ expand_array_notation_exprs (tree t) } case OMP_PARALLEL: + OMP_PARALLEL_BODY (t) + = expand_array_notation_exprs (OMP_PARALLEL_BODY (t)); + return t; + case OMP_TASK: case OMP_FOR: case OMP_SINGLE: |