public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30873]  New: incorrect error message for valid code
@ 2007-02-20  7:51 jv244 at cam dot ac dot uk
  2007-02-20 16:24 ` [Bug fortran/30873] ENTRY without explict RESULT does not work for recursive functions burnus at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-02-20  7:51 UTC (permalink / raw)
  To: gcc-bugs

With recent trunk, gfortran incorrectly generates an error for the following
standard code:
MODULE M1
CONTAINS
FUNCTION F2(K)
 INTEGER :: F2,K
 F2=E1(K)
END FUNCTION F2
RECURSIVE FUNCTION F1(I)
 INTEGER :: F1,I,E1
 F1=F2(I)
 RETURN
 ENTRY E1(I)
 E1=-I
 RETURN
END FUNCTION F1
END  MODULE M1
USE M1
IF (F1(1).NE.-1) CALL ABORT()
END


-- 
           Summary: incorrect error message for valid code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

end of thread, other threads:[~2007-03-08 21:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20  7:51 [Bug fortran/30873] New: incorrect error message for valid code jv244 at cam dot ac dot uk
2007-02-20 16:24 ` [Bug fortran/30873] ENTRY without explict RESULT does not work for recursive functions burnus at gcc dot gnu dot org
2007-02-21 11:03 ` pault at gcc dot gnu dot org
2007-02-21 13:53 ` burnus at gcc dot gnu dot org
2007-03-02 23:03 ` burnus at gcc dot gnu dot org
2007-03-02 23:07 ` [Bug fortran/30873] [4.1 and 4.2 only] " burnus at gcc dot gnu dot org
2007-03-03  3:01 ` patchapp at dberlin dot org
2007-03-08 21:06 ` burnus at gcc dot gnu dot org
2007-03-08 21:07 ` [Bug fortran/30873] [4.1 " burnus 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).