------- Comment #2 from burnus at gcc dot gnu dot org  2010-07-13 17:42 -------
Reminder:

a) TYPE(REAL) / TYPE(REAL_TYPE) is allowed, one probably can borrow the code
from there.

b) In fixed format, spaces do not count anything, thus,
   ALL O CATE( REAL  _ TYPE :: t)
   ALL O CATE( R E A L :: r)
are both perfectly valid.

c) Type parameters are also perfectly valid
   ALLOCATE( REAL(8) :: r)

I think the :: is required, thus, knowing that there is a colon, one can simply
gobble everything until the ::.


Talking about (c): The following valid program is also rejected:

real(8),allocatable :: r8
allocate( real(8) :: r8)
end


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid


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

Reply via email to