[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-06-02 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2008-06-02 21:53 --- Fixed with r136296. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-06-02 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2008-06-02 21:51 --- Subject: Bug 36361 Author: janus Date: Mon Jun 2 21:50:23 2008 New Revision: 136296 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136296 Log: 2008-06-02 Janus Weil <[EMAIL PROTECTED]> PR fortran/3

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-05-29 20:58 --- > Any other attributes we need to handle? I think that's all. I looked through the list of attributes and most are not possible for procedures or are already rejected. Thus I think we have all. -- http://gcc.gnu.

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-05-29 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2008-05-29 20:06 --- Here is a first attempt to fix this. The following patch should cope with the original test case and the one in comment #1. The fix for the POINTER issues will go into my procedure pointer patch. Any other attributes w

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-05-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-05-29 11:24 --- > A related problem also occurs with the POINTER attribute: > interface > real function bar() > end function bar > end interface > pointer :: bar This allowed and means a procedure pointer. See "5.1.2.6 EXTERNAL

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-05-28 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2008-05-28 22:56 --- A related problem also occurs with the POINTER attribute: interface real function bar() end function bar end interface pointer :: bar Here I'm not really sure if it is forbidden, because one could interpret this

[Bug fortran/36361] attribute declaration outside of INTERFACE body

2008-05-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-05-28 22:23 --- Similarly for: interface function bar() real bar(:) ! wrong w/o allocatable end function bar end interface ALLOCATABLE :: bar ! WRONG end -- burnus at gcc dot gnu dot org changed: What