diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2017-01-17 16:54:55 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2017-01-17 16:54:55 +0000 |
commit | 893ffa2c8f842ffe11bed8c212207dc8c6a1638d (patch) | |
tree | 094cc0273f4ec7282be76d39958afe957ba1eee8 /gcc/cp/cp-array-notation.c | |
parent | d365b403e2daf5b1808dcc3035ba01fc7c9575ee (diff) | |
download | gcc-893ffa2c8f842ffe11bed8c212207dc8c6a1638d.zip gcc-893ffa2c8f842ffe11bed8c212207dc8c6a1638d.tar.gz gcc-893ffa2c8f842ffe11bed8c212207dc8c6a1638d.tar.bz2 |
re PR c++/70565 (ICE at gimplify.c:8832 (cilkplus array extension))
PR c++/70565
* cp-array-notation.c (expand_array_notation_exprs): Handle
OMP_PARALLEL.
From-SVN: r244538
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 a0c54fd..36d6624 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: |