public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31154]  New: IMPORT fails for  "<imported symbol> FUNCTION (...)" kind of procedures
@ 2007-03-12 19:16 burnus at gcc dot gnu dot org
  2007-03-16 22:40 ` [Bug fortran/31154] " brooks at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-03-12 19:16 UTC (permalink / raw)
  To: gcc-bugs

+++ This bug was initially created as a clone of Bug #30922 +++

gfortran currently does not like the following:
------------------------------------
module x
  implicit none
  integer, parameter :: d=8
  interface
    real(d) function y()
      import
    end function
  end interface
end module x
------------------------------------

    real(d) function y()
        1
Error: Parameter 'd' at (1) has not been declared or is a variable, which does
not reduce to a constant expression

(A real-world example for the latter is:
http://users.erols.com/dnagle/pub/pthread.f03,
which also needs ISO_C_BINDING support.)


-- 
           Summary: IMPORT fails for  "<imported symbol> FUNCTION (...)"
                    kind of procedures
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
 BugsThisDependsOn: 30922


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-10-02  7:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-12 19:16 [Bug fortran/31154] New: IMPORT fails for "<imported symbol> FUNCTION (...)" kind of procedures burnus at gcc dot gnu dot org
2007-03-16 22:40 ` [Bug fortran/31154] " brooks at gcc dot gnu dot org
2007-03-18 18:03 ` fxcoudert at gcc dot gnu dot org
2007-07-02 22:28 ` burnus at gcc dot gnu dot org
2007-09-07 15:02 ` burnus at gcc dot gnu dot org
2007-09-08  5:02 ` patchapp at dberlin dot org
2007-09-22 18:43 ` pault at gcc dot gnu dot org
2007-09-27  0:11 ` patchapp at dberlin dot org
2007-10-02  7:17 ` pault at gcc dot gnu dot org
2007-10-02  7:22 ` pault at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).