$ cat y.f90
        subroutine test(b,a,n)
        integer, intent(in) :: n
        integer, save :: n2
        real*8, save :: n2inv
        real*8, intent(inout) :: a(0:n/8-1,0:7),b(0:n/8-1,0:7)
        real*8 :: r1,i1,tt


        if(n2==262144)then; a=b; GOTO 1; endif
        if(n2==524288)then
          GOTO 1
        endif
        if(n2==1048576)then
          GOTO 1
        endif
        if(n2==2097152)GOTO 1
        STOP

1       continue

        r1=a(0,4); i1=a(1,4)
        tt=(r1+i1)*(r1-i1); i1=r1*i1
        b(2,0)=    tt *n2inv
        b(3,0)=(i1+i1)*n2inv

        if(n2==8)RETURN
        STOP
        end subroutine test

$ elm3b11:/home/pawar> /opt/gcc-nightly/trunk-20060322/bin/gfortran -c -o y.o
-ftree-loop-linear -O2 -m32   y.f90
y.f90: In function ‘test’:
y.f90:1: error: definition in block 15 follows the use
for SSA_NAME: PARM_NOALIAS.19_70 in statement:
#   VUSE <PARM_NOALIAS.19_70>;
r1_33 = (*a_32)[D.916_30];
y.f90: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.


-- 
           Summary: ICE in verify_ssa
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uttamp at us dot ibm dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


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

Reply via email to