------- Comment #8 from sgk at troutmask dot apl dot washington dot edu  
2006-08-03 06:26 -------
Subject: Re:  [4.2 Regression]: Optional argument failed

On Thu, Aug 03, 2006 at 06:22:10AM -0000, martin at mpa-garching dot mpg dot de
wrote:
> 
> My understanding of this is that the error message given by gfortran is wrong,
> even if an elemental procedure is called with the optional array. The clauses
> only refer to an optional argument _that is not present_, but in the given
> testcases the calls only happen if it is present.
> I think that 12.1.4.5. can only describe a runtime error condition, and cannot
> generally be detected at compile time.
> 

I just submitted a patch that appears to fix the problem.
The problem is __convert_* (ie internal gfortran functions)
are caught by the error checking.


-- 


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

Reply via email to