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

Reply via email to