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 c++/45605] Missed devirtualization



------- Comment #19 from hubicka at gcc dot gnu dot org  2010-09-18 21:25 -------
Subject: Bug 45605

Author: hubicka
Date: Sat Sep 18 21:25:29 2010
New Revision: 164402

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164402
Log:

        PR tree-optimization/45605
        * cgraphunit.c (cgraph_analyze_functions): Allocate bitmap obstack.
        * gimple-fold.c (static_object_in_other_unit_p): New function.
        (canonicalize_constructor_val): Use it.
        (get_symbol_constant_value): Be reaqdy for canonicalize_constructor_val
        returning NULL.
        (gimple_fold_obj_type_ref_known_binfo): Use
static_object_in_other_unit_p.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/gimple-fold.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605


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