This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29758] New: Runtime segfault in RESHAPE with insuuficient elements in SOURCE
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2006 05:52:57 -0000
- Subject: [Bug fortran/29758] New: Runtime segfault in RESHAPE with insuuficient elements in SOURCE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat ../prs/reshape.f90
real :: a(2,2), z = 1.0
a = reshape ([z], [2,2])
end
Paul@NONE-X6EIN5I8FN /home/pr29431
$ /irun/bin/gfortran ../prs/reshape.f90
Paul@NONE-X6EIN5I8FN /home/pr29431
$ ./a
Segmentation fault (core dumped)
I have a partial fix that breaks two testsuite cases; I expect that it will be
done in the next day or two.
Paul
--
Summary: Runtime segfault in RESHAPE with insuuficient elements
in SOURCE
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29758