User account creation filtered due to spam.
The following code compiles with 4.8.5, and 4.9.0 and causes ICE with 4.9.2 and 5.1.1 module mod implicit none contains integer function F() end function end module module mod_C use mod implicit none contains subroutine s() bind(C, name="f") integer :: x x = F() end subroutine end module > gfortran-5 -v -c binding_ice.f90 Using built-in specs. COLLECT_GCC=gfortran-5 Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-checking=release --with-gxx-include-dir=/usr/include/c++/5 --enable-ssp --disable-libssp --disable-libvtv --enable-libmpx --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=c++98 --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-5 --without-system-libunwind --enable-multilib --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux Thread model: posix gcc version 5.1.1 20150622 [gcc-5-branch revision 224722] (SUSE Linux) COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic' '-march=x86-64' /usr/lib64/gcc/x86_64-suse-linux/5/f951 binding_ice.f90 -quiet -dumpbase binding_ice.f90 -mtune=generic -march=x86-64 -auxbase binding_ice -version -fintrinsic-modules-path /usr/lib64/gcc/x86_64-suse-linux/5/finclude -o /tmp/ccpIdj5s.s GNU Fortran (SUSE Linux) version 5.1.1 20150622 [gcc-5-branch revision 224722] (x86_64-suse-linux) compiled by GNU C version 5.1.1 20150622 [gcc-5-branch revision 224722], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (SUSE Linux) version 5.1.1 20150622 [gcc-5-branch revision 224722] (x86_64-suse-linux) compiled by GNU C version 5.1.1 20150622 [gcc-5-branch revision 224722], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 binding_ice.f90:15:0: x = F() 1 internal compiler error: in fold_convert_loc, at fold-const.c:2235 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions.
Anyone can confirm this behaviour?
> Anyone can confirm this behaviour? Indeed! It appeared between revisions r199034 (2013-05-17, OK) and r199221 (2013-05-22, ICE).
Still broken.
GCC 4.9 branch is being closed