--- Comment #6 from burnus at gcc dot gnu dot org 2009-07-09 09:57 ---
FIXED on the trunk (4.5). The commit message only made it to PR 40604 as I
forgot about PR 40605 ...
Subject: Bug 40604
Author: burnus
Date: Thu Jul 9 09:42:34 2009
New Revision: 149405
URL: http://gcc.gnu.org/vi
--- Comment #5 from burnus at gcc dot gnu dot org 2009-07-01 16:09 ---
Another failure - this time for __convert_i4_r4 (a EXPR_FUNCTION) as actual
argument, which does not set sym->result ...
Test case:
SUBROUTINE plotdop(amat)
IMPLICIT NONE
REAL,INTENT (IN) :: am
--- Comment #4 from burnus at gcc dot gnu dot org 2009-07-01 14:37 ---
The generic interface problem should be fixed by the following, which includes
the bits from the others patches:
--- trans-expr.c(revision 149129)
+++ trans-expr.c(working copy)
@@ -2778 +2778 @@ gfc_
--- Comment #3 from burnus at gcc dot gnu dot org 2009-07-01 13:40 ---
But of cause also the run-time test fails; for absent arguments a NULL is
passed.
We need to check:
a) optional pointer actual to non-optional dummy
b) optional pointer actual to optional dummy
The -fcheck=pointer s
--- Comment #2 from janus at gcc dot gnu dot org 2009-07-01 13:16 ---
Here is another test case which segfaults with -fcheck=pointer, even with the
fix from comment #0:
module m
Interface matrixMult
Module procedure matrixMult_C2
End Interface
contains
subroutine test
--- Comment #1 from burnus at gcc dot gnu dot org 2009-07-01 13:02 ---
*** Bug 40604 has been marked as a duplicate of this bug. ***
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
-