This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32689] New: [4.3 regression] with SIZE or TRANSFER
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2007 07:52:20 -0000
- Subject: [Bug fortran/32689] New: [4.3 regression] with SIZE or TRANSFER
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
the following snippet
program gfcbug67
implicit none
type mytype
integer, pointer :: i(:) => NULL ()
end type mytype
type(mytype) :: t
print *, size (transfer (1, t% i))
end program gfcbug67
fails to compile with:
gfcbug67.f90:9.17:
print *, size (transfer (1, t% i))
1
Error: 'array' argument of 'size' intrinsic at (1) must be an array
Cheers,
-ha
--
Summary: [4.3 regression] with SIZE or TRANSFER
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32689