[Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed

dir at lanl dot gov gcc-bugzilla@gcc.gnu.org
Thu Jul 5 15:56:00 GMT 2007


This error poped up while trying to recompile one of my programs. I have
reduced it about as much as I could - change almost anything and the error goes
away -

[dranta:~/junk] dir% gfortran -c -O2 aled7.F
aled7.F: In function 'aled7':
aled7.F:1: error: definition in block 6 follows the use
for SSA_NAME: D.1023_61 in statement:
D.1017_52 = D.1023_61;
aled7.F:1: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[dranta:~/junk] dir% cat aled7.F
      subroutine aled7(ix,ib,itable,ip,ip2,imat,nummat,
     1                 mx0,k,numnp,numel,iadj)

      implicit double precision (a-h,o-z)                                    dp

      common/cale6/fst(16,4),ist(256,14)
c
      dimension ib(*),itable(*),ip(3,*),ip2(*),ix(6,*),imat(nummat+1,*)
c
c
      ipnt=1
      do 20 i=1,numel
      if (imat(ix(5,i),mx0).ne.1) go to 20
   20 continue
c
      k=0
      kflg=0
   25 do 30 i=1,ipnt
      if (ip(1,i).eq.0) go to 30
      ii=i
      go to 40
   30 continue
c
   40 k=k+1
      iel=ip(3,ii)
      ib(k+iadj)=i1
      if (kflg.eq.1) ip(1,ii)=0
      kflg=1
c
      isum=0
      do 50 i=1,ipnt
      if (ip(1,i).eq.0) isum=isum+1
      if (ip(1,i).eq.0.or.ip(1,i).ne.i2) go to 50
      ii=i
      if (ip(3,i).eq.iel) go to 40
   50 continue
c
      if (ip(1,ii).eq.i2) go to 40
      kflg=0
      if (isum.ne.ipnt) go to 25
c
      return
      end
[dranta:~/junk] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin8.10.0
Configured with: ../gcc/configure --disable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070705 (experimental)
[dranta:~/junk] dir%


-- 
           Summary: gfortran - internal compiler error: verify_ssa failed
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dir at lanl dot gov
  GCC host triplet: Darwin 8.9.0


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



More information about the Gcc-bugs mailing list