From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 660 invoked by alias); 12 Sep 2014 16:53:02 -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 Received: (qmail 601 invoked by uid 55); 12 Sep 2014 16:52:58 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61654] [4.9/5 Regression] ICE in release_function_body, at cgraph.c:1699 Date: Fri, 12 Sep 2014 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01529.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61654 --- Comment #14 from Martin Jambor --- Author: jamborm Date: Fri Sep 12 16:52:24 2014 New Revision: 215228 URL: https://gcc.gnu.org/viewcvs?rev=215228&root=gcc&view=rev Log: 2014-09-12 Martin Jambor PR ipa/61654 * cgraph.h (cgraph_analyze_function): Declare. * cgraphunit.c: (analyze_function): Remove forward declaration, rename to cgraph_analyze_function, made external. * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the new decl properly. Analyze the new thunk if it is expanded. gcc/testsuite/ * g++.dg/ipa/pr61654.C: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr61654.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/cgraph.h branches/gcc-4_9-branch/gcc/cgraphclones.c branches/gcc-4_9-branch/gcc/cgraphunit.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog