diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-12-04 11:20:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-12-04 11:20:51 +0100 |
commit | d3c673c74acfcc0202b0013677ef280e76fffb72 (patch) | |
tree | 8a7fb7efd8062ba4c47caab5ee275060e1dd09a5 /libgomp | |
parent | 94983d3065b546ec059d54421b82b3aa9b852ed7 (diff) | |
download | gcc-d3c673c74acfcc0202b0013677ef280e76fffb72.zip gcc-d3c673c74acfcc0202b0013677ef280e76fffb72.tar.gz gcc-d3c673c74acfcc0202b0013677ef280e76fffb72.tar.bz2 |
re PR middle-end/29965 (OpenMP vs always throw in a loop)
PR middle-end/29965
* omp-low.c (determine_parallel_type): Don't try to optimize combined
parallels if region->exit or region->inner->exit is NULL.
(expand_omp_parallel): Handle NULL region->exit even if cfg is already
built.
(expand_omp_for_generic): Handle NULL region->cond and region->exit.
(expand_omp_for): Use expand_omp_for_generic if either region->cond
or region->exit is NULL.
(expand_omp_sections): Handle NULL region->cond or region->exit.
(expand_omp_synch):
* gcc.dg/gomp/pr29965-1.c: New test.
* gcc.dg/gomp/pr29965-2.c: New test.
* gcc.dg/gomp/pr29965-3.c: New test.
* gcc.dg/gomp/pr29965-4.c: New test.
* gcc.dg/gomp/pr29965-5.c: New test.
* gcc.dg/gomp/pr29965-6.c: New test.
* g++.dg/gomp/pr29965-1.C: New test.
* g++.dg/gomp/pr29965-2.C: New test.
* g++.dg/gomp/pr29965-3.C: New test.
* g++.dg/gomp/pr29965-4.C: New test.
* g++.dg/gomp/pr29965-5.C: New test.
* g++.dg/gomp/pr29965-6.C: New test.
* g++.dg/gomp/pr29965-7.C: New test.
* g++.dg/gomp/pr29965-8.C: New test.
* g++.dg/gomp/pr29965-9.C: New test.
* g++.dg/gomp/pr29965-10.C: New test.
From-SVN: r119483
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions