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
* [Bug fortran/46753] [4.4/4.5/4.6 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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 ` jakub at gcc dot gnu.org
2010-12-02 14:37 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-02 10:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.12.02 10:16:31
CC| |jakub at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.4.6
Summary|ICE: OpenMP - in |[4.4/4.5/4.6 Regression]
|extract_omp_for_data, at |ICE: OpenMP - in
|omp-low.c:335 |extract_omp_for_data, at
| |omp-low.c:335
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-02 10:16:31 UTC ---
Broken by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132592
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4/4.5/4.6 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-02 14:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-02 14:37:25 UTC ---
Author: jakub
Date: Thu Dec 2 14:37:20 2010
New Revision: 167372
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167372
Log:
PR fortran/46753
* trans-openmp.c (gfc_trans_omp_do): Use build2_loc instead of
fold_build2_loc for OMP_FOR conditions.
* libgomp.fortran/pr46753.f90: New test.
Added:
trunk/libgomp/testsuite/libgomp.fortran/pr46753.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-openmp.c
trunk/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4/4.5/4.6 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-05 11:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4/4.5 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (2 preceding siblings ...)
2010-12-05 11:57 ` rguenth at gcc dot gnu.org
@ 2010-12-06 6:53 ` jakub at gcc dot gnu.org
2010-12-07 15:28 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-06 6:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4/4.5/4.6 Regression] |[4.4/4.5 Regression] ICE:
|ICE: OpenMP - in |OpenMP - in
|extract_omp_for_data, at |extract_omp_for_data, at
|omp-low.c:335 |omp-low.c:335
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-06 06:53:39 UTC ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4/4.5 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (3 preceding siblings ...)
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
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 15:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:27:57 UTC ---
Author: jakub
Date: Tue Dec 7 15:27:50 2010
New Revision: 167549
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167549
Log:
Backport from mainline
2010-12-02 Jakub Jelinek <jakub@redhat.com>
PR fortran/46753
* trans-openmp.c (gfc_trans_omp_do): Use build2_loc instead of
fold_build2_loc for OMP_FOR conditions.
* libgomp.fortran/pr46753.f90: New test.
Added:
branches/gcc-4_5-branch/libgomp/testsuite/libgomp.fortran/pr46753.f90
Modified:
branches/gcc-4_5-branch/gcc/fortran/ChangeLog
branches/gcc-4_5-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_5-branch/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (4 preceding siblings ...)
2010-12-07 15:28 ` jakub at gcc dot gnu.org
@ 2010-12-07 19:01 ` 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
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-07 19:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 19:01:38 UTC ---
Author: jakub
Date: Tue Dec 7 19:01:36 2010
New Revision: 167561
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167561
Log:
Backport from mainline
2010-12-02 Jakub Jelinek <jakub@redhat.com>
PR fortran/46753
* trans-openmp.c (gfc_trans_omp_do): Use build2_loc instead of
fold_build2_loc for OMP_FOR conditions.
* libgomp.fortran/pr46753.f90: New test.
Added:
branches/gcc-4_4-branch/libgomp/testsuite/libgomp.fortran/pr46753.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_4-branch/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (5 preceding siblings ...)
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
7 siblings, 0 replies; 9+ messages in thread
From: longb at cray dot com @ 2010-12-09 10:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
--- Comment #7 from Bill Long <longb at cray dot com> 2010-12-09 10:29:19 UTC ---
I am out of the office until Tuesday, December 21, 2010. Send technical
questions to spslang@cray.com.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/46753] [4.4 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335
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
` (6 preceding siblings ...)
2010-12-09 10:29 ` longb at cray dot com
@ 2010-12-09 10:29 ` burnus at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09 10:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 10:28:42 UTC ---
Regressed in 4.4, 4.5 and 4.6 (trunk) - and a fix was committed for all those
version.
Thus: Close as FIXED.
Thanks Bill for the report - and thanks Jakub for tracing the error and fixing
it.
^ 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).