------- Comment #3 from jv244 at cam dot ac dot uk  2009-07-12 14:30 -------
(In reply to comment #2)
> Do you by chance return pointers in any function?  In which case you should
> try removing DECL_IS_MALLOC (fndecl) = 1 in trans-decl.c.  I pointed this out
> to Paul already, but appearantly it is still stuck in his whole-file
> patch queue.
> 

yes, this happens here:

  FUNCTION cp_sll_val_get_first_el(sll,error) RESULT(res)
    TYPE(cp_sll_val_type), POINTER           :: sll
    TYPE(cp_error_type), INTENT(inout)       :: error
    TYPE(val_type), POINTER                  :: res

and in several other places, I'll see if I can remove the statement you
mention.


-- 


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

Reply via email to