This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121134 - in /branches/gcc-4_2-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 24 Jan 2007 21:01:39 -0000
- Subject: r121134 - in /branches/gcc-4_2-branch/gcc: Chan...
Author: jakub
Date: Wed Jan 24 21:01:37 2007
New Revision: 121134
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121134
Log:
PR middle-end/30421
* omp-low.c (lower_omp_for_lastprivate): Add dlist argument.
If lower_lastprivate_clauses emits some statements, append them
to dlist rather than body_p and to body_p append an initializer.
(lower_omp_for): Adjust caller.
* gcc.dg/gomp/pr30421.c: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/gomp/pr30421.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/omp-low.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog