From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24178 invoked by alias); 9 Jul 2007 07:52:28 -0000 Received: (qmail 24165 invoked by uid 48); 9 Jul 2007 07:52:20 -0000 Date: Mon, 09 Jul 2007 07:52:00 -0000 Subject: [Bug fortran/32689] New: [4.3 regression] with SIZE or TRANSFER X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anlauf at gmx dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01026.txt.bz2 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