[Bug fortran/27446] ICE on OpenMP array REDUCTION clause and -fbounds-check
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 7 08:10:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 08:10 -------
Confirmed:
4526 pop_gimplify_context (OMP_CLAUSE_REDUCTION_INIT (c));
And OMP_CLAUSE_REDUCTION_INIT (c) is a statement_list which is wrong for
pop_gimplify_context.
They should be an BIND_EXPR.
Reduced testcase:
subroutine foo1(n,m,sumarray)
integer, dimension(n), intent(out) :: sumarray
!$OMP PARALLEL DEFAULT(shared)
!$OMP DO PRIVATE(j,i), REDUCTION(+:sumarray)
do j=1,m
end do
!$OMP END PARALLEL
end subroutine foo1
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i386-gnu-linux |
GCC host triplet|i386-gnu-linux |
GCC target triplet|i386-gnu-linux |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-05-07 08:10:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27446
More information about the Gcc-bugs
mailing list