From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10624 invoked by alias); 27 Oct 2010 21:48:42 -0000 Received: (qmail 10616 invoked by uid 22791); 27 Oct 2010 21:48:42 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Oct 2010 21:48:38 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46201] ICE using procedure pointer... X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Keywords CC In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 27 Oct 2010 21:48:00 -0000 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-10/txt/msg02348.txt.bz2 Message-ID: <20101027214800.nBJKXmKHr6ZJm8v78rw0zTxjrih0LJ2BD3Zv6kK8Q_g@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46201 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |burnus at gcc dot gnu.org, | |janus at gcc dot gnu.org --- Comment #1 from Tobias Burnus 2010-10-27 21:48:17 UTC --- The ICE happens for: nam = vars(ivar)%name(1) where "name" is the PPC. It fails with 4.5 and 4.6. (4.4 does not support PPC.) ICEs at: ==7160== Invalid read of size 8 ==7160== at 0x57365F: gfc_conv_procedure_call (trans-expr.c:3539) ==7160== by 0x5742C1: gfc_conv_function_expr (trans-expr.c:3937) ==7160== by 0x56DD39: gfc_trans_assignment_1 (trans-expr.c:5675) ==7160== by 0x574AF9: gfc_trans_assignment (trans-expr.c:5847) That's the line: se->expr = info->descriptor;