[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2012-04-25 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40039 --- Comment #8 from janus at gcc dot gnu.org 2012-04-25 15:24:13 UTC --- (In reply to comment #7) the remaining ToDo item for this PR is: Fixing the intents of non-std intrinsics (which are currently all intent(in)). I just went through the

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2012-04-25 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40039 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-06-16 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-06-16 09:06 --- Subject: Bug 40039 Author: janus Date: Tue Jun 16 09:06:13 2009 New Revision: 148519 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148519 Log: 2009-06-16 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-06-16 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-06-16 09:17 --- r148519 improves the error messages (besides adding a check for optional), so the remaining ToDo item for this PR is: Fixing the intents of non-std intrinsics (which are currently all intent(in)). --

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-18 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-05-18 09:19 --- Subject: Bug 40039 Author: janus Date: Mon May 18 09:19:20 2009 New Revision: 147655 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147655 Log: 2009-05-18 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-18 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-05-18 09:28 --- The commit in comment #4 implements the basic checking of the intents. ToDo: * Improve the error message, which is currently just Type/rank mismatch in argument Should specify exactly what is not matching, and

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-13 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-05-13 17:15 --- FAIL: gfortran.dg/interface_19.f90 -O0 (test for excess errors) FAIL: gfortran.dg/proc_ptr_result_1.f90 -O0 (test for excess errors) The last of these three test cases is probably invalid, the second failure

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-07 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-05-07 21:44 --- Here is a preliminary patch which correctly rejects the code in comment #0: Index: gcc/fortran/interface.c === --- gcc/fortran/interface.c (revision

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-06 10:29 --- NAG f95 5.1 gives the following error: Error: line 21: Dummy proc F arg 1 has different INTENT from actual proc FUNC arg Error: line 21: Incompatible procedure argument for F (no. 2) of A After fixing this (intent