This is the mail archive of the gcc-patches@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]

Problem with contained procedures as of 110063


Paul,

The following draws an error as of 110063:

- - - - - - - - - - - 8< - - - - - - - - 8< - - - - - - - - -

module aap
private
public s
interface s
module procedure sub,sub1
end interface
contains
subroutine sub1(i)
integer i
real a
call sub(a)
end subroutine sub1
subroutine sub(a)
real a
end subroutine sub
end module aap

- - - - - - - - - - - 8< - - - - - - - - 8< - - - - - - - - -

This seems correct to me (it is accepted by 4.1).

Please explain.

Thanks,

-- 
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/


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