------- Comment #9 from jakub at gcc dot gnu dot org 2010-09-13 15:36 ------- Created an attachment (id=21785) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21785&action=view) gcc46-pr45596.patch
Updated patch. This one should handle the case where pointer assigment just points into some other var's array section and similar (ie. when there is a possible overlap with some other var, but not necessarily the same rank/start/bounds) and has some limited interprocedural points-to handling. tonto.f90 isn't still handled, because for the pointer ALLOCATE it compares the pointer symbol on which the ALLOCATE is called, and with create_ doing the ALLOCATE on self that's the same symbol in both cases (although GFC_PT_CALL in both cases is through different variables). -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #21735|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45596