[Bug fortran/21825] New: Segmentation fault on 2D array initialization with reshape
enok at lysator dot liu dot se
gcc-bugzilla@gcc.gnu.org
Mon May 30 15:36:00 GMT 2005
The following code causes segmentation fault with gfortran
PROGRAM TST
CHARACTER(2), PARAMETER :: ETYPE(2,2) = &
RESHAPE((/ 'a1','b1','a2','b2' /),(/2,2/))
END PROGRAM TST
> gfortran4 -c tst.f90
tst.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.
>
--
Summary: Segmentation fault on 2D array initialization with
reshape
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: enok at lysator dot liu dot se
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21825
More information about the Gcc-bugs
mailing list