This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/61527] class/extends, multiple generic assignment, accept invalid


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61527

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
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 code. I did not find
any obvious culprit in this range for the change in behavior. I also don't know
what is the correct behavior.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]