[Bug fortran/36553] Missing interface not detected in call to same file function

paul dot richard dot thomas at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 24 08:31:00 GMT 2010



------- Comment #12 from paul dot richard dot thomas at gmail dot com  2010-05-24 08:31 -------
Subject: Re:  Missing interface not detected in call to 
        same file function

With -fwhole-file, we get for the short testcase:

../pr36553/pr36553.f90:2.9:

 print *, f( (/ 0.0, 1.0/) )
         1
Error: The reference to function 'f' at (1) either needs an explicit
INTERFACE or the rank is incorrect

Paul

On Mon, May 24, 2010 at 12:34 AM, dfranke at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #11 from dfranke at gcc dot gnu dot org  2010-05-23 22:34 -------
>
>
> *** This bug has been marked as a duplicate of 31346 ***
>
>
> --
>
> dfranke at gcc dot gnu dot org changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|NEW                         |RESOLVED
>         Resolution|                            |DUPLICATE
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36553
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>


-- 


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



More information about the Gcc-bugs mailing list