OSDN Git Service

PR tree-optimization/45605
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 2010 21:25:29 +0000 (21:25 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 2010 21:25:29 +0000 (21:25 +0000)
commitf1c35659ded1bb8caa191fffcebb32da7a40428f
treee751694fc67828e19064bc55f35a8e2b55757c5e
parent62ac6d95c93f2fad8ea1a791026b7074f2698fb1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164402 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/gimple-fold.c