http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501
john.harper at vuw dot ac.nz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.harper at vuw dot ac.nz --- Comment #13 from john.harper at vuw dot ac.nz --- ICE from using MERGE in a constant specification expression, not in this program an initialization expression because it's an array bound, with gfortran 4.7.2. I have tried to install later versions but without success so far. cayley[~/Jfh] % cat testmerge3.f90 program testmerge3 implicit none integer,parameter::iarray(merge(2,3,.true.)) = 1, i = size(iarray) print "(A,99I2)",'i,iarray =',i,iarray end program testmerge3 cayley[~/Jfh] % gfortran -v testmerge3.f90 Driving: gfortran -v testmerge3.f90 -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release Thread model: posix gcc version 4.7.2 (GCC) COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/f951 testmerge3.f90 -quiet -dumpbase testmerge3.f90 -mtune=generic -march=x86-64 -auxbase testmerge3 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/finclude -o /tmp/ccPFQJLT.s GNU Fortran (GCC) version 4.7.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.2, GMP version 5.1.0, MPFR version 3.1.1-p2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran (GCC) version 4.7.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.2, GMP version 5.1.0, MPFR version 3.1.1-p2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 f951: internal compiler error: in is_illegal_recursion, at fortran/resolve.c:1420 Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. cayley[~/Jfh] %