This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30873] ENTRY without explict RESULT does not work for recursive functions
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2007 16:24:01 -0000
- Subject: [Bug fortran/30873] ENTRY without explict RESULT does not work for recursive functions
- References: <bug-30873-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 16:24 -------
ENTRY E1(I)
1
Error: RESULT attribute required in ENTRY statement at (1)
Note: It works if one removes the "recursive".
Compiles just fine with nagf95, ifort and g95.
Ad hoc I don't see anything in the standard which forbids this.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2007-02-20 16:24:01
date| |
Summary|incorrect error message for |ENTRY without explict RESULT
|valid code |does not work for recursive
| |functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30873