[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-04 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2009-07-04 13:01 --- Fixed with r149227. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-04 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-07-04 12:28 --- Subject: Bug 40593 Author: janus Date: Sat Jul 4 12:28:43 2009 New Revision: 149227 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149227 Log: 2009-07-04 Janus Weil PR fortran/40593 * inte

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-04 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-07-04 11:40 --- Mine. Patch: http://gcc.gnu.org/ml/fortran/2009-07/msg00016.html -- janus at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-01 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-07-01 08:54 --- The compile-time error in comment #5 is fixed by: Index: gcc/fortran/interface.c === --- gcc/fortran/interface.c (revision 149129) +++ gcc/fortran/in

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-01 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-07-01 08:39 --- Related problem: module m contains subroutine func() print *,"42" end subroutine func end module m program test use m implicit none call sub(getPtr()) contains subroutine sub(f) procedure(func),po

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-07-01 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-07-01 08:35 --- The second example in comment #0 is fixed by the following patch: Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c (revision 149129) +++

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-06-29 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-30 05:21 --- > -fcheck=pointer (remaining issues/features) is now tracked at PR 40593 Ignore - that should have gone to PR 40580 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40593

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-06-29 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-06-29 21:00 --- -fcheck=pointer (remaining issues/features) is now tracked at PR 40593 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40593

[Bug fortran/40593] Proc-pointer returning function as actual argument

2009-06-29 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-06-29 17:40 --- Hmm, something else goes wrong, too, my fix for PR 40580 does not generate a check (for procpointer results), it does for pointer function results and it does for normal proc pointers. Thus, it either gets fixed autom