The following program aborts at run-time.  On windows XP it
opens an error box saying a.exe has encountered a problem
and offers to send a problem report to MS.

Dick Hendrickson

      program try_gf0045

! fails on Windows XP
! gcc version 4.4.0 20080312 (experimental) [trunk revision 133139]

      call       gf0045(  9,  8)
      end

      subroutine GF0045(nf9,nf8)
      REAL RDA(10)
      REAL RDA1(0)

      RDA(NF9:NF8) = CSHIFT ( RDA1 ,1)

      END SUBROUTINE


-- 
           Summary: run-time abort for CSHIFT of zero sized array
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dick dot hendrickson at gmail dot com


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

Reply via email to