This bug may be fixed or not. It may be known or not. It would be too much work for me to find out.
gfortran segfaults at: subroutine bar(a, n) implicit none integer, intent(IN) :: n character(n), pointer :: a(:) allocate(a(1)) end subroutine bar $ gfortran -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux Thread model: posix gcc version 4.0.2 20050901 (prerelease) (SUSE Linux) Thanks, Juergen -- Summary: Segfault Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wieferink at freenet dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30710