This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34708] Inlining heuristics issue
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2008 19:20:27 -0000
- Subject: [Bug tree-optimization/34708] Inlining heuristics issue
- References: <bug-34708-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from hubicka at gcc dot gnu dot org 2008-01-09 19:20 -------
Subject: Bug 34708
Author: hubicka
Date: Wed Jan 9 19:19:40 2008
New Revision: 131433
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131433
Log:
PR tree-optimization/34708
* tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
based on number of case labels.
(init_inline_once): Remove switch_cost.
* tree-inline.h (eni_weights_d): Remove switch_cost.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-inline.c
trunk/gcc/tree-inline.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34708