[Bug tree-optimization/36922] New: ICE in tree-data-ref.c with -ftree-loop-linear

pthaugen at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 24 20:44:00 GMT 2008


Current trunk is ICE'ing when trying to build CPU2006 benchmark 416.gamess with
-ftree-loop-linear.

run/build_base_gcc_64.0001> cat junk.f
      SUBROUTINE GETCOF2(NP,FLM,ZLL,COEFF)
C
      IMPLICIT DOUBLE PRECISION(A-H,O-Z)
      PARAMETER (MAXCOF=23821)
      DIMENSION COEFF(MAXCOF),
     *          ZLL(0:2*NP+1),FLM(0:2*NP)
C
      LENG=0
      DO L=0,NP
         DO M=0,L
            DO LK=M,L
               LENG=LENG+1
               COEFF(LENG)=FLM(L+M)*FLM(L-M)*ZLL(L-LK)/(FLM(LK+M)*
     *             FLM(LK-M)*FLM(L-LK)*FLM(L-LK))
            ENDDO
         ENDDO
      ENDDO
C
      RETURN
      END

run/build_base_gcc_64.0001> /home/pthaugen/install/gcc/trunk/bin/gfortran -c
-O2 -ftree-loop-linear junk.f
junk.f: In function 'getcof2':
junk.f:1: internal compiler error: in initialize_matrix_A, at
tree-data-ref.c:1885
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in tree-data-ref.c with -ftree-loop-linear
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pthaugen at gcc dot gnu dot org
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36922



More information about the Gcc-bugs mailing list