diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-16 10:43:33 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-16 10:43:33 +0000 |
commit | 8e6b4515ce79ba3656424dd3b5aaa23e3c3b9236 (patch) | |
tree | bb79795b8f80069dd0b22d37e59aa3d81ee9f34d /libgomp/ChangeLog | |
parent | 5c62c52af38b00da95829f6034136950f9b91d09 (diff) | |
download | ppe42-gcc-8e6b4515ce79ba3656424dd3b5aaa23e3c3b9236.tar.gz ppe42-gcc-8e6b4515ce79ba3656424dd3b5aaa23e3c3b9236.zip |
* omp-low.c (extract_omp_for_data): For collapsed loops,
if at least one of the loops is known at compile time to
iterate zero times, set count to 0.
(expand_omp_regimplify_p): New function.
(expand_omp_for_generic): For collapsed loops, if at least
one of the loops isn't known to iterate at least once,
add runtime check with setting count to 0.
(expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
For unsigned types if it isn't known at compile time that
the loop will iterate at least once, add runtime check to bypass
the whole loop if initial condition isn't true.
* testsuite/libgomp.c/loop-13.c: New test.
* testsuite/libgomp.c/loop-14.c: New test.
* testsuite/libgomp.c/loop-15.c: New test.
* testsuite/libgomp.c++/loop-13.C: New test.
* testsuite/libgomp.c++/loop-14.C: New test.
* testsuite/libgomp.c++/loop-15.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b0dc764c9c1..8b81b27f934 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,12 @@ +2013-05-16 Jakub Jelinek <jakub@redhat.com> + + * testsuite/libgomp.c/loop-13.c: New test. + * testsuite/libgomp.c/loop-14.c: New test. + * testsuite/libgomp.c/loop-15.c: New test. + * testsuite/libgomp.c++/loop-13.C: New test. + * testsuite/libgomp.c++/loop-14.C: New test. + * testsuite/libgomp.c++/loop-15.C: New test. + 2013-02-06 Jakub Jelinek <jakub@redhat.com> PR middle-end/56217 |