------- Comment #3 from jakub at gcc dot gnu dot org  2010-09-08 12:08 -------
Created an attachment (id=21737)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21737&action=view)
tonto2.f90

Modified testcase from tonto (well, in particular from richi's testcase in one
of the tonto PRs), where the allocate is done directly in the current function
instead of another subroutine.  Here the most important temporary can be
optimized out.
With (working) GFC_PT_CALL handling even the case where create_ is a module
function defined in the current file could work, and with saving/restoring
points_to stuff in theory even the original tonto could be optimized.

Anyway, before I continue working on this, I'd appreciate comments on issues
you see in the current code already.


-- 


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

Reply via email to