https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61527
--- Comment #2 from mrestelli ---
I am no expert, but I think that the correct behaviour is that of the
older version: the two interfaces indeed are ambiguous, since a call
like
type(t2) :: b
call disp(b)
could call both disp1 and disp2.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61527
--- Comment #1 from Dominique d'Humieres ---
Up to r200946 (2013-07-14, 4.9) gfortran gives an error
Error: Ambiguous interfaces 'disp2' and 'disp1' in generic interface 'disp' at
(1)
>From at least r201266 (2013-07-26) gfortran accepts the cod