This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30873] ENTRY without explict RESULT does not work for recursive functions



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]