public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46753] New: ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
@ 2010-12-01 20:32 longb at cray dot com
  2010-12-02 10:16 ` [Bug fortran/46753] [4.4/4.5/4.6 Regression] " jakub at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: longb at cray dot com @ 2010-12-01 20:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753

           Summary: ICE: OpenMP - in extract_omp_for_data, at
                    omp-low.c:335
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: longb@cray.com


> cat test.f90
program F03_E_3a
   use omp_lib
   implicit none
   integer, parameter :: NT = 4 
   integer, parameter :: INT32_MAX = 2147483647 ! 2**31-1
   integer :: i, j, thread_num = -1

   call omp_set_dynamic(.false.)
   call omp_set_num_threads(NT)

   !$omp parallel do collapse(2) schedule(static, 1) lastprivate(thread_num)
   do i = 1, INT32_MAX - 1
      do j = 0, NT-1
         thread_num = omp_get_thread_num()
         if (j /= thread_num) then
            print *, 'FAIL - j == ', j, ' (expected ', thread_num, ')'
            stop 1
         end if
      end do
   end do
   !$omp end parallel do

end program F03_E_3a


> gfortran -fopenmp test.f90
test.f90: In function 'f03_e_3a':
test.f90:11:0: internal compiler error: in extract_omp_for_data, at
omp-low.c:335
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-12-09 10:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 20:32 [Bug fortran/46753] New: ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335 longb at cray dot com
2010-12-02 10:16 ` [Bug fortran/46753] [4.4/4.5/4.6 Regression] " jakub at gcc dot gnu.org
2010-12-02 14:37 ` jakub at gcc dot gnu.org
2010-12-05 11:57 ` rguenth at gcc dot gnu.org
2010-12-06  6:53 ` [Bug fortran/46753] [4.4/4.5 " jakub at gcc dot gnu.org
2010-12-07 15:28 ` jakub at gcc dot gnu.org
2010-12-07 19:01 ` [Bug fortran/46753] [4.4 " jakub at gcc dot gnu.org
2010-12-09 10:29 ` longb at cray dot com
2010-12-09 10:29 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).