I got a following internal error. $ gfortran --version GNU Fortran 95 (GCC) 4.2.0 20051216 (experimental) Copyright (C) 2005 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING $ cat ie.f90 nullify(i%e) end program $ gfortrran ie.f90 *** malloc[7950]: Deallocation of a pointer not malloced: 0x6337f0; 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 In file ie.f90:1 nullify(i%e) 1 Internal Error at (1): free_expr0(): Bad expr type -- Summary: internal error at nullifying in invalid code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: iguchi at coral dot t dot u-tokyo dot ac dot jp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25660