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/14957] [gfortran] testsuite issues


------- Additional Comments From jv244 at cam dot ac dot uk  2004-06-10 11:52 -------

> Re: "st_function.f90, line 32: Subobject of constant not allowed in 
> statement function"
> > 
> >>Do you have a quote from the standard to back this? I couldn't find one.
> >>
> > No, this is an error from NAG f95. Normally a very good reference when it comes
> > to the standard, but I'm not sure why this wouldn't be allowed.
> > 
> 
> Can it be configured to output the relevant section of the standard? I 

Not as far as I know. What I get is :
Error: st_function.f90, line 32: Subobject of constant not allowed in statement
function


> I don't think this is a problem, as we always pass C pointers to the 
> referenced objects, and if these are of the same size, there shouldn't 
> be problem. 

i.e. comment #3 passing a integer*4 to a subroutine expecting a real*8 isn't Ok.



-- 


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


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