[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays

mikael dot morin at tele2 dot fr gcc-bugzilla@gcc.gnu.org
Mon Mar 26 04:58:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list