------- Comment #14 from rguenth at gcc dot gnu dot org  2010-04-30 13:57 
-------
Indeed all proc_ptr_* execution FAILs are fixed with -fwhole-program.  The
frontend does not properly unify decls for example in proc_ptr_comp_12.f90
for

  testObj%test => returnMat

vs.

  function returnMat( a, b ) result( mat )

without -fwhole-file.  But all IPA optimizations rely on that, so it's
critical that -fwhole-file is enabled.


-- 


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

Reply via email to