From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18408 invoked by alias); 18 Aug 2010 18:55:43 -0000 Received: (qmail 18358 invoked by uid 48); 18 Aug 2010 18:55:31 -0000 Date: Wed, 18 Aug 2010 18:55:00 -0000 Message-ID: <20100818185531.18357.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44735] ICE on FORALL with character array pointer 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg01484.txt.bz2 ------- Comment #2 from pault at gcc dot gnu dot org 2010-08-18 18:55 ------- Created an attachment (id=21513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21513&action=view) The beginings of a fix This PR is going to drive me mad! The immediate cause is a failure to get the TYPE_SIZE_UNIT to calculate the size of the temporary needed for the assignment. This fixes that part of the problem but moves the focus to the assignment itself. Something is badly wrong with the temporary's TREE_TYPE but I do not see what it is right now. Let this be the record of where I got to.... Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44735