------- Comment #3 from kargl at gcc dot gnu dot org  2006-07-30 22:46 -------
(In reply to comment #2)
> I'm an absolute beginner in programming gfortran, but the following
> patch seems to solve this bug by inserting an if-block into the code
> in order to prevent the access to the NULL pointer in case the array
> is pointing to NULL.
Alexander,

Thanks for the patch, but I think it is only covering up the real
problem.  It's more a question of "why is it a NULL pointer?" not
whether we can work around the NULL pointer.  I suspect that some
where in resolve.c, gfortran is not properly setting/propagating
information about optional arguments and entry statements.


-- 


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

Reply via email to