From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30303 invoked by alias); 18 Jun 2011 09:00:57 -0000 Received: (qmail 30294 invoked by uid 22791); 18 Jun 2011 09:00:57 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Sat, 18 Jun 2011 09:00:43 +0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/49383] [4.7 regression] powerpc64-linux bootstrap failure due to ice in cgraph_only_called_directly_p X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: 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: Sat, 18 Jun 2011 09:00: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: 2011-06/txt/msg01634.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49383 --- Comment #3 from Jan Hubicka 2011-06-18 09:00:22 UTC --- Hi, the problem is in cgraph_only_called_directl_p call within call_abi_of_interest. Getting the one can probably fix the problem by: Index: rs6000.c =================================================================== --- rs6000.c (revision 175166) +++ rs6000.c (working copy) @@ -7419,7 +7419,7 @@ call_ABI_of_interest (tree fndecl) /* Interesting functions that we are emitting in this object file. */ c_node = cgraph_get_node (fndecl); - return !cgraph_only_called_directly_p (c_node); + return !cgraph_only_called_directly_p (cgraph_function_or_thunk_node (c_node, NULL)); } return false; } however I can't make sense of the logic here. Doesn't it want to use c_node->local && c_node->can_change_signature like other ABI change issues? It makes it possible to use modified ABI cross ltrans partitions. Honza