------- Comment #12 from pault at gcc dot gnu dot org  2009-06-19 00:20 -------
Adding at trans-expr.c:2740

        && !(e->symtree && e->symtree->n.sym->attr.pointer)

eliminates the problem in the reduced testcase and allows the original testcase
to run correctly.  This has not been regtested yet - even if it introduces
regressions, it will be a question of getting the condition right. Notice that
pointer variables need to be excluded from deallocation of allocatable
components too.

My tree is sourced from a more recent version of svn than is available on the
system that I am using - hence the lack of a diff.

It's mine :-)

Cheers

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-06-15 13:09:45         |2009-06-19 00:20:01
               date|                            |


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

Reply via email to