------- Comment #5 from burnus at gcc dot gnu dot org  2009-07-08 12:37 -------
(In reply to comment #4)
> It seems that gfortran.dg/proc_ptr_21.f90 is failing on i686-pc-linux-gnu and
> Intel64(?), see

I can - somewhat - reproduce it. It does not fail but valgrind shows
(x86-64-linux and i686-linux):

==32231== Conditional jump or move depends on uninitialised value(s)
==32231==    at 0x80485A2: test.1513 (proc_ptr_21.f90:26)
==32231==    by 0x8048548: MAIN__ (proc_ptr_21.f90:8)
==32231==    by 0x80485F4: main (proc_ptr_21.f90:8)

That is solved by adding:
   i = 0
to subroutine test (while any other number causes the abortion).


-- 


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

Reply via email to