[Bug fortran/56655] Associate construct with OpenMP triggers ICE

2013-03-20 Thread janus at gcc dot gnu.org


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



janus at gcc dot gnu.org changed:



   What|Removed |Added



 CC||janus at gcc dot gnu.org



--- Comment #1 from janus at gcc dot gnu.org 2013-03-20 09:47:22 UTC ---

(In reply to comment #0)

 Created attachment 29692 [details]

 Test source file to reproduce the error

 

 Attempting to compile the attached file with

 

 gfortran -fopenmp -c openmp_ice.f90



The file in the attachment is called 'test_h5_attr.f90' and I don't find any

ASSOCIATE construct in there. Wrong file attached?


[Bug fortran/56655] Associate construct with OpenMP triggers ICE

2013-03-20 Thread townsend at astro dot wisc.edu


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



--- Comment #2 from Rich Townsend townsend at astro dot wisc.edu 2013-03-20 
13:25:15 UTC ---

(In reply to comment #1)

 (In reply to comment #0)

  Created attachment 29692 [details]

  Test source file to reproduce the error

  

  Attempting to compile the attached file with

  

  gfortran -fopenmp -c openmp_ice.f90

 

 The file in the attachment is called 'test_h5_attr.f90' and I don't find any

 ASSOCIATE construct in there. Wrong file attached?



(In reply to comment #1)

 (In reply to comment #0)

  Created attachment 29692 [details]

  Test source file to reproduce the error

  

  Attempting to compile the attached file with

  

  gfortran -fopenmp -c openmp_ice.f90

 

 The file in the attachment is called 'test_h5_attr.f90' and I don't find any

 ASSOCIATE construct in there. Wrong file attached?



Ooops -- wrong test case. Here it is:



subroutine sub (x)



  implicit none



  real, intent(in) :: x



  !$omp single

  associate(x_a = x)

  end associate

  !$omp end single 



end subroutine sub