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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-09-13
     Ever Confirmed|0                           |1

--- Comment #2 from janus at gcc dot gnu.org 2011-09-13 10:39:40 UTC ---
Note: We get the correct error message (twice, unfortunately) for:

  function f() result(res)
    interface res
      subroutine sub
      end subroutine
    end interface
  end 


  function f() result(res)
                          1
Error: PROCEDURE attribute conflicts with RESULT attribute in 'res' at (1)



but not when the interface is empty:

    interface res
    end interface

Reply via email to