http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46060
Summary: gfortran crash when referencing procedure pointer Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: sjbe...@comcast.net Created attachment 22072 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22072 module test_1.f90 which is referenced in the bug report Compiling the module below causes a segmentation fault. gfortran -c test_1.f90 test_1.f90: In function ‘test_subroutine’: test_1.f90:20:0: internal compiler error: Segmentation fault the crash occurs in last week's 4.6 trunk and 4.5. ======== gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin10.3.0/4.5.1/lto-wrapper Target: x86_64-apple-darwin10.3.0 Configured with: ../gcc-4_5-branch/configure --prefix=/usr/local/gfortran --enable-languages=c,c++,fortran --with-gmp=/Users/fx/devel/gcc/ibin45/../irun45 --enable-bootstrap --with-included-gettext --with-arch=nocona --with-tune=generic Thread model: posix gcc version 4.5.1 20100506 (prerelease) (GCC) ========= /volumes/dev/gfortran-4.6-trunk/bin/gfortran -v Using built-in specs. COLLECT_GCC=/volumes/dev/gfortran-4.6-trunk/bin/gfortran COLLECT_LTO_WRAPPER=/Volumes/dev/gfortran-4.6-trunk/bin/../libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-wrapper Target: x86_64-apple-darwin10 Configured with: ../gfortran-4.6-src/configure --prefix=/volumes/dev/gfortran-4.6-trunk --enable-languages=fortran --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 --target=x86_64-apple-darwin10 Thread model: posix gcc version 4.6.0 20101013 (experimental) (GCC)