]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/33880 (ICE: in extract_omp_for_data, at omp-low.c:162)
authorJakub Jelinek <jakub@redhat.com>
Fri, 25 Jan 2008 12:54:42 +0000 (13:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 25 Jan 2008 12:54:42 +0000 (13:54 +0100)
commitc256730cefa52bbb322ca3759a0411f9e245d366
tree9a5c3be70549d48c772a09123c8b458d609517b3
parent59805c3b29f62c729aa176eea03bbd20b455b7e5
re PR middle-end/33880 (ICE: in extract_omp_for_data, at omp-low.c:162)

PR middle-end/33880
* tree-nested.c (walk_omp_for): New function.
(convert_nonlocal_reference, convert_local_reference): Call
walk_omp_for on OMP_FOR.
(convert_call_expr): Call walk_body on OMP_FOR's
OMP_FOR_PRE_INIT_BODY.

* testsuite/libgomp.c/pr33880.c: New test.
* testsuite/libgomp.fortran/pr33880.f90: New test.

From-SVN: r131825
gcc/ChangeLog
gcc/tree-nested.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr33880.c [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/pr33880.f90 [new file with mode: 0644]