ICE on buggy? code. #cat buggy.f integer function fcall(c,n) character*(n) c integer n character c2 c2=c(1) return end
#gfortran buggy.f --save-temps buggy.f: In function fcall: buggy.f:1: internal compiler error: in make_decl_rtl, at varasm.c:1297 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. #cat buggy.s .file "buggy.f" #gfortran -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.4-14' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.5 20100909 (prerelease) (Debian 4.4.4-14) -- Summary: internal compiler error: in make_decl_rtl, at varasm.c:1297 Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jteg68 at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45681