This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14957] [gfortran] testsuite issues
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2004 11:52:45 -0000
- Subject: [Bug fortran/14957] [gfortran] testsuite issues
- References: <20040414171503.14957.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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