When compiling this code, I get a compiler crash. I believe that it has to do with using a pointer in a subroutine.
In file testtree.f90:34 addnode(head, thisnode, i) 1 Error: Unclassifiable statement at (1) testtree.f90:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. This occurs with Windows XP or cygwin with the GNU Fortran 95 (GCC 4.1.0 20050902 (experimental)) version of gfortran. -- Summary: Unclassifiable statement when using pointer subroutine Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: denney at seas dot upenn dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24286