* [Bug fortran/46874] internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
@ 2010-12-09 17:42 ` dominiq at lps dot ens.fr
2010-12-09 21:49 ` [Bug fortran/46874] [OpenMP] ICE " burnus at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-12-09 17:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-09 17:42:21 UTC ---
Confirmed on 4.4.4, 4.5.0, and trunk r167642.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
2010-12-09 17:42 ` [Bug fortran/46874] " dominiq at lps dot ens.fr
@ 2010-12-09 21:49 ` burnus at gcc dot gnu.org
2010-12-13 10:33 ` kapinos at rz dot rwth-aachen.de
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09 21:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |openmp
CC| |burnus at gcc dot gnu.org
Summary|internal compiler error: in |[OpenMP] ICE in
|gfc_conv_descriptor_data_ge |gfc_conv_descriptor_data_ge
|t, at |t, at
|fortran/trans-array.c:147 |fortran/trans-array.c:147
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 21:49:00 UTC ---
When compiling with GCC 4.3 (OpenMP 2.5), one gets the error:
!$OMP PARALLEL DO PRIVATE(I) SHARED(X, N) REDUCTION(+:A) REDUCTION(MIN:B)
1
Error: REDUCTION clause object 'a' is ALLOCATABLE at (1)
Seemingly, this restriction has been lifted in OpenMPv3.0 (new in GCC 4.4) - or
at least the check has been removed. In any case, with GCC 4.4 to 4.6 and with
ifort 11.1 one gets an ICE.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
2010-12-09 17:42 ` [Bug fortran/46874] " dominiq at lps dot ens.fr
2010-12-09 21:49 ` [Bug fortran/46874] [OpenMP] ICE " burnus at gcc dot gnu.org
@ 2010-12-13 10:33 ` kapinos at rz dot rwth-aachen.de
2010-12-13 10:38 ` kapinos at rz dot rwth-aachen.de
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: kapinos at rz dot rwth-aachen.de @ 2010-12-13 10:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #3 from Paul <kapinos at rz dot rwth-aachen.de> 2010-12-13 10:33:02 UTC ---
Yes, the OpenMP Standard changed from 2.5 to 3.0 an describing reductions:
2.5:
Fortran pointers, Cray pointers, assumed-size arrays and allocatable arrays
may not appear in a reduction clause.
3.0:
An original list item with the ALLOCATABLE attribute must be in the allocated
state at entry to the construct containing the reduction clause. Additionally,
the list item must not be deallocated and/or allocated within the region.
Fortran pointers, Cray pointers and assumed-size arrays may not appear in a
reduction clause.
and even more: be avare of changing this points regarding the REDUCTION clause
again. Such-called "User Definded Reductions" are in discussion now.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (2 preceding siblings ...)
2010-12-13 10:33 ` kapinos at rz dot rwth-aachen.de
@ 2010-12-13 10:38 ` kapinos at rz dot rwth-aachen.de
2010-12-14 12:56 ` burnus at gcc dot gnu.org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: kapinos at rz dot rwth-aachen.de @ 2010-12-13 10:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #4 from Paul <kapinos at rz dot rwth-aachen.de> 2010-12-13 10:37:59 UTC ---
Only GCC gfortran compiler has the problem.
There is no problem to compile the attached redukt.f90 file with ifort 11.1 and
12 (2011XE) and also with the PGI Fortran compiler (10.9) and Sun Studio
compiler (12.1).
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (3 preceding siblings ...)
2010-12-13 10:38 ` kapinos at rz dot rwth-aachen.de
@ 2010-12-14 12:56 ` burnus at gcc dot gnu.org
2010-12-14 13:56 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-14 12:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-14 12:56:38 UTC ---
Patch: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01081.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (4 preceding siblings ...)
2010-12-14 12:56 ` burnus at gcc dot gnu.org
@ 2010-12-14 13:56 ` jakub at gcc dot gnu.org
2010-12-14 13:59 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-14 13:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-14 13:56:35 UTC ---
Author: jakub
Date: Tue Dec 14 13:56:25 2010
New Revision: 167798
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167798
Log:
PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.
* libgomp.fortran/allocatable6.f90: New test.
Added:
trunk/libgomp/testsuite/libgomp.fortran/allocatable6.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-openmp.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (5 preceding siblings ...)
2010-12-14 13:56 ` jakub at gcc dot gnu.org
@ 2010-12-14 13:59 ` jakub at gcc dot gnu.org
2010-12-27 0:16 ` dfranke at gcc dot gnu.org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-14 13:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-14 13:59:25 UTC ---
Author: jakub
Date: Tue Dec 14 13:59:20 2010
New Revision: 167799
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167799
Log:
PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.
* libgomp.fortran/allocatable6.f90: New test.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgomp/ChangeLog
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (6 preceding siblings ...)
2010-12-14 13:59 ` jakub at gcc dot gnu.org
@ 2010-12-27 0:16 ` dfranke at gcc dot gnu.org
2010-12-27 12:58 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dfranke at gcc dot gnu.org @ 2010-12-27 0:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
Daniel Franke <dfranke at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2010.12.27 00:15:55
CC| |dfranke at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #8 from Daniel Franke <dfranke at gcc dot gnu.org> 2010-12-27 00:15:55 UTC ---
Jakub, is there anything left here or can this report be closed?
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (7 preceding siblings ...)
2010-12-27 0:16 ` dfranke at gcc dot gnu.org
@ 2010-12-27 12:58 ` jakub at gcc dot gnu.org
2011-01-16 20:26 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-27 12:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
CC| |jakub at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-27 12:58:01 UTC ---
It has been committed just to trunk so far, not to 4.5 nor 4.4.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (8 preceding siblings ...)
2010-12-27 12:58 ` jakub at gcc dot gnu.org
@ 2011-01-16 20:26 ` jakub at gcc dot gnu.org
2011-01-17 0:05 ` jakub at gcc dot gnu.org
2011-01-17 8:06 ` jakub at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-16 20:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 20:18:04 UTC ---
Author: jakub
Date: Sun Jan 16 20:18:01 2011
New Revision: 168864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168864
Log:
Backport from mainline
2010-12-14 Jakub Jelinek <jakub@redhat.com>
PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.
* libgomp.fortran/allocatable6.f90: New test.
Added:
branches/gcc-4_5-branch/libgomp/testsuite/libgomp.fortran/allocatable6.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] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (9 preceding siblings ...)
2011-01-16 20:26 ` jakub at gcc dot gnu.org
@ 2011-01-17 0:05 ` jakub at gcc dot gnu.org
2011-01-17 8:06 ` jakub at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-17 0:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 22:54:39 UTC ---
Author: jakub
Date: Sun Jan 16 22:54:37 2011
New Revision: 168878
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168878
Log:
Backport from mainline
2010-12-14 Jakub Jelinek <jakub@redhat.com>
PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.
* libgomp.fortran/allocatable6.f90: New test.
Added:
branches/gcc-4_4-branch/libgomp/testsuite/libgomp.fortran/allocatable6.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] 13+ messages in thread
* [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147
2010-12-09 17:36 [Bug fortran/46874] New: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 kapinos at rz dot rwth-aachen.de
` (10 preceding siblings ...)
2011-01-17 0:05 ` jakub at gcc dot gnu.org
@ 2011-01-17 8:06 ` jakub at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-17 8:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-17 08:02:05 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 13+ messages in thread