[Bug fortran/14957] [gfortran] testsuite issues
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Thu Jun 10 11:52:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list