[J3] Question about "Ambiguous interfaces in generic interface"

Robert Corbett rpcorbett at att.net
Fri Oct 7 20:59:11 UTC 2022

There is no bug in any of the implementations.  The program is not standard conforming.  The requirement that is violated is not a constraint.  Therefore, a conforming implementation can compile the program or not compile it.  If it does compile the program, any result is allowed as the standard does not define the behavior of programs that do not conform to the standard.

Bob Corbett

> On Oct 7, 2022, at 11:27 AM, Steven G. Kargl via J3 <j3 at mailman.j3-fortran.org> wrote:
> On Fri, Oct 07, 2022 at 01:36:52PM +0000, Jeff Hammond via J3 wrote:
>> As best I can tell, GCC has been buggy in this respect since 4.8
>> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66409), which seems
>> like a staggering amount of time to not support something like this,
> gfortran is an open-source project.  Bugs get fixed when someone fixes them.
> Unfortunately, someone, who cares about this bug, hasn't submitted a patch.
> -- 
> Steve

More information about the J3 mailing list