program bug
         integer :: n
         real, dimension(2) ::&
            &a = (/ ( (float(n))**(1.0), n=1,2) /)
         write(*,*) a(1), a(2)
         stop
      end program bug

gfortran-4.3 -S t.f90 
t.f90: In function ‘bug’:
t.f90:1: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:3884
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.


-- 
           Summary: [4.3/4.4 Regression] ICE in gfc_conv_array_initializer,
                    at fortran/trans-array.c:3884
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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

Reply via email to