$ cat a.f90 
module truc
end module truc

module bar
  use truc
end module bar

use bar
end
$ gfortran a.f90
$ gfortran a.f90 -Jfoo
f951(1968) malloc: *** Deallocation of a pointer not malloced: 0x41304a90; This
could be a double free(), or free() called with the middle of an allocated
block; Try setting environment variable MallocHelp to see tools to help debug

It's on powerpc-darwin, but it's not target-specific, I guess running under
libefence or valgrind would show the same thing. Treat that as an ICE, since
it's a potential ICE.


-- 
           Summary: Memory corruption in the module search path code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: fxcoudert at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org


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

Reply via email to