https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83154

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-11-25
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed with '-fcoarray=lib', the code compiles with '-fcoarray=single'. The
ICE is a regression, but the code is rejected with 7.2.0:

pr83154.f90:7:20:

     b => a(1:p, 1:p),     &
                    1
Error: Variable 'b' at (1) is a coarray and is not ALLOCATABLE, SAVE nor a
dummy argument
pr83154.f90:8:24:

     c => a(0:p-1, 1:p  ), &
                        1
Error: Variable 'c' at (1) is a coarray and is not ALLOCATABLE, SAVE nor a
dummy argument
pr83154.f90:9:24:

     d => a(2:p+1, 1:p  ), &
                        1
Error: Variable 'd' at (1) is a coarray and is not ALLOCATABLE, SAVE nor a
dummy argument
pr83154.f90:10:24:

     e => a(1:p  , 2:p+1), &
                        1
Error: Variable 'e' at (1) is a coarray and is not ALLOCATABLE, SAVE nor a
dummy argument
pr83154.f90:11:24:

     f => a(1:p  , 0:p-1))
                        1
Error: Variable 'f' at (1) is a coarray and is not ALLOCATABLE, SAVE nor a
dummy argument

Reply via email to