------- Comment #3 from jv244 at cam dot ac dot uk  2009-08-20 07:09 -------
the pointers are undefined and thus it is not standard conforming to ask for
their state. This is like asking if an uninitialized integer is 0 or not.

you can use

  type S0
     real, dimension(:), pointer :: P  => NULL()         ! NLEV
  end type S0

to provide an 'initial value'.


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to