[Bug fortran/61768] New: Fortran compiler goes into infinite loop while compiling SPEC2000 applu.f

kuganv at linaro dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 10 08:28:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61768

            Bug ID: 61768
           Summary: Fortran compiler  goes into infinite loop while
                    compiling  SPEC2000 applu.f
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kuganv at linaro dot org

arm-linux-gnueabihf-gfortran -c -floop-interchange applu.f goes into infinite
loop.

It goes into infinite loop in
isl_vec_mat_product,
....
 while ((off = row_first_non_zero(left->row+first,
     left->n_row-first, row)) != -1) {
....

Happens in trunk with cloog-0.18.1.tar.gz, isl-0.12.2.tar.bz2,
gmp-4.3.2.tar.bz2, mpc-0.8.1.tar.gz and mpfr-2.4.2.tar.bz2.

minimal Fortran code to reproduce this should contain subroutine setbv and
exact.

gcc -v  output:
arm-none-linux-gnueabi-gfortran -v
Using built-in specs.
COLLECT_GCC=/home/kugan/work/builds/gcc-fsf-trunk/tools/bin/arm-none-linux-gnueabi-gfortran
COLLECT_LTO_WRAPPER=/home/kugan/work/builds/gcc-fsf-trunk/tools/libexec/gcc/arm-none-linux-gnueabi/4.10.0/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /home/kugan/work/sources/gcc-fsf/trunk/configure
--target=arm-none-linux-gnueabi
--prefix=/home/kugan/work/builds/gcc-fsf-trunk/tools
--with-sysroot=/home/kugan/work/builds/gcc-fsf-trunk/sysroot-arm-none-linux-gnueabi
--disable-libssp --disable-libgomp --disable-libmudflap
--enable-languages=c,c++,fortran --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-float=softfp --with-thumb
Thread model: posix
gcc version 4.10.0 20140710 (experimental) (GCC)



More information about the Gcc-bugs mailing list