This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48095] [OOP] Invalid assignment to procedure pointer component not rejected


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48095

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-29 10:10:40 UTC ---
Remains to be done: The test case of comment 0. Seemingly, for an
initialization, the check is not done - while for a normal pointer assignment
it is (in expr.c's gfc_check_pointer_assign).

I would assume that one needs a similar check in resolve_structure_cons. There
are already checks for "pointer initialization" - one probably needs needs to
add a similar check to the one in gfc_check_pointer_assign.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]