[Bug fortran/80235] ICE: coarrays, submodule
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 1 11:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80235
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #4)
> Reduced submodule
>
> submodule ( m ) sm
>
> contains
>
> module subroutine cgca_pfem_map( origin, rot, bcol, bcou )
> implicit none
> real( kind=rdef ), intent( in ) :: &
> origin(3), & ! origin of the "box" cs, in FE cs
> rot(3,3), & ! rotation tensor *from* FE cs *to* CA cs
> bcol(3), & ! lower phys. coords of the coarray on image
> bcou(3) ! upper phys. coords of the coarray on image
>
> integer( kind=idef ) :: maxfe
>
> maxfe = size( cgca_pfem_centroid_tmp%r, dim=2 )
> call co_max( maxfe )
>
> end subroutine cgca_pfem_map
>
> end submodule sm
I am unable to reproduce this bug on FC23/x86_64.
Sorry! If you could greatly reduce it, I might be able to spot the problem.
Which statement in the reduced case above causes the ICE?
Paul
More information about the Gcc-bugs
mailing list