This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45596] Implement simple static points-to analysis in Fortran FE
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2010 15:36:16 -0000
- Subject: [Bug fortran/45596] Implement simple static points-to analysis in Fortran FE
- References: <bug-45596-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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