--- Comment #6 from janus at gcc dot gnu dot org 2008-08-28 15:13 ---
Fixed in r139713. Closing.
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from janus at gcc dot gnu dot org 2008-08-28 15:12 ---
Subject: Bug 37253
Author: janus
Date: Thu Aug 28 15:10:50 2008
New Revision: 139713
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139713
Log:
2008-08-28 Janus Weil <[EMAIL PROTECTED]>
PR fortran/3
--- Comment #4 from janus at gcc dot gnu dot org 2008-08-28 11:24 ---
> One should check whether other attributes are also missing.
attr.procedure is missing as well. I'll provide an extended patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37253
--- Comment #3 from janus at gcc dot gnu dot org 2008-08-27 21:10 ---
> Actual, I have the feeling the attr.proc_pointer is not saved at all in
> module.c, cf. ab_attribute in that file.
Exactly. Thanks for pointing this out. The following patch fixes it:
Index: gcc/fortran/module.c
=
--- Comment #2 from burnus at gcc dot gnu dot org 2008-08-27 20:33 ---
Actual, I have the feeling the attr.proc_pointer is not saved at all in
module.c, cf. ab_attribute in that file. One should check whether other
attributes are also missing.
Dominique: Thanks for finding it; may this
--- Comment #1 from burnus at gcc dot gnu dot org 2008-08-27 20:30 ---
call proc4( p )
should transfer to the tree code as
proc4(&p)
(procpointer passed by reference) but it is actually
proc(p)
The latter is OK for a PROCEDURE dummy argument but nor for a PROCEDURE POINTER
dummy ar
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
CC||janus at gcc dot gnu dot org
Status|UNCONFIRMED