This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays
- From: "tkoenig 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 Jul 2007 22:20:18 -0000
- Subject: [Bug fortran/32217] segfaults (at runtime) on UNPACK with zero-sized arrays
- References: <bug-32217-14211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from tkoenig at gcc dot gnu dot org 2007-07-08 22:20 -------
Subject: Bug 32217
Author: tkoenig
Date: Sun Jul 8 22:20:04 2007
New Revision: 126469
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126469
Log:
2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/32217
* intrinsics/unpack_generic.c: If the destination array is
empty, return early.
2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/32217
* gfortran.dg/unpack_zerosize_1.f90: New test case.
Added:
trunk/gcc/testsuite/gfortran.dg/unpack_zerosize_1.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/intrinsics/unpack_generic.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32217