gcc/libgfortran/runtime
Tobias Schlüter 58c5b409e8 re PR fortran/17283 (UNPACK issues)
PR fortran/17283
fortran/
* iresolve.c (gfc_resolve_pack): Choose function depending if mask is
scalar.
libgfortran/
* intrinsics/pack_generic.c (__pack): Allocate memory for return array
if not done by caller.
(__pack_s): New function.
* runtime/memory.c (internal_malloc, internal_malloc64): Allow
allocating zero memory.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Add more tests.

From-SVN: r88526
2004-10-04 21:27:29 +02:00
..
environ.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
error.c error.c (generate_error): Set both iostat and library_return. 2004-08-31 23:43:21 +00:00
in_pack_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
in_unpack_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
main.c re PR libfortran/15149 (problem computing Pi) 2004-05-14 12:21:22 +00:00
memory.c re PR fortran/17283 (UNPACK issues) 2004-10-04 21:27:29 +02:00
normalize.c Paul Brook <paul@codesourcery.com> 2004-06-30 00:52:58 +02:00
pause.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
select.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
stop.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
string.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00