This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54286] [4.8 Regression] Accepts invalid proc-pointer assignments involving proc-ptr function result
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Sep 2012 12:28:50 +0000
- Subject: [Bug fortran/54286] [4.8 Regression] Accepts invalid proc-pointer assignments involving proc-ptr function result
- Auto-submitted: auto-generated
- References: <bug-54286-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54286
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-19 12:28:50 UTC ---
(When you look into this problem: I think the current handling of assumed-rank
is also wrong (sorry, my mistake). For array passing, assumed-rank dummies take
any rank (including scalar). However, for dummy procedures or proc-pointers, if
the dummy/proc-pointer has an assumed rank dummy, the actual/proc/target has to
have one too.)