This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/23394] New: Segmentation fault in RESHAPE


! Linux build (gfortran-linux.tar.gz)
!-------------
!! $ gfc --version
!! GNU Fortran 95 (GCC 4.1.0 20050815 (experimental))
!! Copyright (C) 2005 Free Software Foundation, Inc.

! Native Windows build [gfortran-windows.exe]
!---------------------
!! > gfortran --version
!! GNU Fortran 95 (GCC 4.1.0 20050805 (experimental))

!! Copyright (C) 2005 Free Software Foundation, Inc.


! Cygwin build [gfortran-Cygwin-4.1-20050523-Athlon.tar.bz2]
!-------------
!! $ gfc --version
!! GNU Fortran 95 (GCC 4.1.0 20050522 (experimental))
!! Copyright (C) 2005 Free Software Foundation, Inc.

! In all cases:
!---------------
!! $ gfc -c gfc_seg_bug.f90
!! gfc_seg_bug.f90:0: internal compiler error: Segmentation fault
!! Please submit a full bug report,
!! with preprocessed source if appropriate.
!! See <URL:http://gcc.gnu.org/bugs.html> for instructions.

PROGRAM gfc_seg_bug

  CHARACTER (LEN=2), PARAMETER :: aray(4,2) = RESHAPE( &
            (/ "11", "12", "13", "14",    &
               "21", "22", "23", "24" /), & 
               SHAPE=(/4,2/) )
 
END PROGRAM gfc_seg_bug

-- 
           Summary: Segmentation fault in RESHAPE
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dave dot offiler at metoffice dot gov dot uk
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]