--
What|Removed |Added
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17283
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-05-26
09:41 ---
A scalar mask is invalid for unpack, so the error message
is correct.
The memory allocation issue has been fixed for 4.0 and mainline.
Closing this bug.
--
What|Removed
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-26
06:40 ---
Subject: Bug 17283
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-05-26 06:40:42
Modified files:
libgfortran: Change
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-26
06:26 ---
Subject: Bug 17283
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-05-26 06:26:18
Modified files:
libgfortran: ChangeLog
libgfortran/intrin
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-05-24
21:26 ---
(In reply to comment #4)
> as a note: UNPACK also has issues with as scalar mask, maybe also with memory
> allocation
I have just submitted a patch for the memory allocation issue.
A scalar mask for unpack
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-05-23
16:00 ---
Looks like there is another memory allocation issue:
$ cat unpack.f90
program main
real, dimension(5) :: a
a = (/(real(i),i=1,5)/)
print *, unpack(a(:), a(:)>0, 0.)
end
$ gfortran unpack.f90
$ ./a.out
--
What|Removed |Added
Keywords|wrong-code |rejects-valid
Last reconfirmed|2004-09-08 18:46:43 |2005-03-23 03:10:23
date|
--- Additional Comments From Thomas dot Koenig at online dot de 2004-12-22
16:52 ---
> The issues with PACK are fixed, keeping this open as a reminder that UNPACK
> still has issues as pointed out in #4
Test case for the scalar case:
$ cat unpack.f90
program main
real, dimension(3)