This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Interface ambiguity
On Sat, May 12, 2012 at 10:05 PM, Tobias Burnus <burnus@net-b.de> wrote:
> Hello Salvatore,
>
> Salvatore Filippone wrote:
>>>
>>> I think XLF correctly rejects the code as ambiguous.
>>
>> In any case I have to find a different coding route, this looks too
>>
>> dangerous; and I was surprised because I managed to hit a case where
>> my mental model of what is and is not legal failed.
>
>
> I concur. It also looked valid to me (based on my feeling and inability to
> construct a problematic example). I also had to carefully read the
> restrictions - but after doing so, I agreed with IBM that it is invalid.
The reply I got from the IBM person is that the case is against the
rules even if it appears not to be actually ambiguous, i.e. there is a
very real possibility that the rules generate some false positive (and
this is probably one) when detecting ambiguities.
Salvatore