This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/34708] Inlining heuristics issue



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]