From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26247 invoked by alias); 7 Dec 2005 06:20:29 -0000 Received: (qmail 26217 invoked by alias); 7 Dec 2005 06:20:27 -0000 Date: Wed, 07 Dec 2005 06:20:00 -0000 Message-ID: <20051207062027.26216.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/15809] ICE Using Pointer Functions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-12/txt/msg00650.txt.bz2 List-Id: ------- Comment #22 from pault at gcc dot gnu dot org 2005-12-07 06:20 ------- Subject: Bug 15809 Author: pault Date: Wed Dec 7 06:20:21 2005 New Revision: 108150 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108150 Log: 2005-12-07 Paul Thomas PR fortran/15809 * trans-decl.c (gfc_get_symbol_decl): In the case of automatic character length, dummy pointer arrays, build an expression for unit size of the array elements, to be picked up and used in the descriptor dtype. * trans-io.c (gfc_trans_transfer): Modify the detection of components of derived type arrays to use the gfc_expr references instead of the array descriptor dtype. This allows the latter to contain expressions. 2005-12-07 Paul Thomas PR fortran/15809 * gfortran.dg/auto_char_dummy_array.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/auto_char_dummy_array_1.f90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/trans-array.c branches/gcc-4_1-branch/gcc/fortran/trans-decl.c branches/gcc-4_1-branch/gcc/fortran/trans-io.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15809