diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-04-26 10:20:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-04-26 10:20:57 +0200 |
commit | 21a66e91d04c775dc4a022fb950c4163c593c090 (patch) | |
tree | fec7ee7b475d5fccd6db80f93052baa34e06da9e /gcc/tree-flow.h | |
parent | 887dc802b3408d0c815ff2aaecd791fa2fd90725 (diff) | |
download | gcc-21a66e91d04c775dc4a022fb950c4163c593c090.zip gcc-21a66e91d04c775dc4a022fb950c4163c593c090.tar.gz gcc-21a66e91d04c775dc4a022fb950c4163c593c090.tar.bz2 |
re PR middle-end/25989 (gomp ICE with -O2 and schedule(guided))
PR middle-end/25989
* tree-flow.h (struct omp_region): Add sched_kind.
* omp-low.c (expand_parallel_call): Use region->inner->sched_kind
instead of extracting omp for data.
(expand_omp_for): Save extracted sched_kind.
From-SVN: r113268
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index cdf38af..87e8328 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -505,6 +505,9 @@ struct omp_region /* The code for the omp directive of this region. */ enum tree_code type; + /* Schedule kind, only used for OMP_FOR type regions. */ + enum omp_clause_schedule_kind sched_kind; + /* True if this is a combined parallel+workshare region. */ bool is_combined_parallel; }; |