This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28390] New: Broken !$omp parallel do lastprivate(iterationvar)
- From: "jakub at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2006 18:21:57 -0000
- Subject: [Bug fortran/28390] New: Broken !$omp parallel do lastprivate(iterationvar)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
! see OpenMP 2.5 spec, page 64 and A.30 on page 175
program tst_lastpriv
integer nc
parameter (nc=100)
integer a(nc),i
!$omp parallel do lastprivate(i)
do i=1,nc
a(i) = i
end do
if (i.ne.nc+1) then
print *,'failed, i=',i
else
print *,'success ',a(nc),i
endif
end
fails with current trunk and -fopenmp.
--
Summary: Broken !$omp parallel do lastprivate(iterationvar)
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28390