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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> 2011-02-22 23:01:49 
UTC ---
You need to allocate p before use to get a valid program.
Like:

integer, target :: a
integer, pointer :: p => NULL ()

allocate (p)
p = a           ! should be =>
p = 1

end


Regarding the assignment "p = a",
please read an introduction to Fortran.
It is valid code when p is associated.

Reply via email to