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/31346] wrong values for ubound and size of deferred shape arrays



------- Comment #3 from mikael dot morin at tele2 dot fr  2007-03-26 05:58 -------
Created an attachment (id=13286)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13286&action=view)
the working case

The problem arise when the subroutine is not defined in a contains statement in
the main program. 
I haven't seen anything in the Fortran 2003 standard forcing the subroutines to
be in the contains statement. 
But even if it is the case, the compiler should report an error. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31346


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