From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15888 invoked by alias); 21 Aug 2006 01:42:58 -0000 Received: (qmail 15849 invoked by alias); 21 Aug 2006 01:42:50 -0000 Date: Mon, 21 Aug 2006 01:42:00 -0000 Message-ID: <20060821014250.15848.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/28071] [4.1/4.2 regression] A file that can not be compiled in reasonable time/space In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hubicka 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: 2006-08/txt/msg01682.txt.bz2 List-Id: ------- Comment #43 from hubicka at gcc dot gnu dot org 2006-08-21 01:42 ------- Subject: Bug 28071 Author: hubicka Date: Mon Aug 21 01:42:39 2006 New Revision: 116284 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116284 Log: PR rtl-optimization/28071 * tree-optimize.c (tree_rest_of_compilation): Do not remove edges twice. * tree-inline.c (copy_bb): Use cgraph_set_call_stmt. * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument. (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function, cgraph_decide_inlining_incrementally): Update use of cgraph_check_inline_limits. * cgraph.c (edge_hash, edge_eq): New function. (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge, cgraph_edge_remove_caller, cgraph_node_remove_callees, cgraph_remove_node): Maintain call site hash. * cgraph.h (struct cgraph_node): Add call_site_hash. (cgraph_set_call_stmt): New function. Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c trunk/gcc/cgraph.h trunk/gcc/ipa-inline.c trunk/gcc/tree-inline.c trunk/gcc/tree-optimize.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28071