2005-09-16 Mircea Namolaru * ipa-cha.c: New file. Contains IPA CHA specific functionality. * ipa-prop.h: Add declaration for cha_driver. * tree.h: Added a mew macro, TYPE_OBJ_CREATED and a new field cha-inheritance in tree_binfo. * Makefile.in: Add ipa-cha.c. Fixed dependency for tree-ssa-operands. * langhooks.h: Added a new hook, cha_is_constructor. * langhooks-def.h: Same * cp/cp-lang.h: Map the new hook. * cp/cp-tree.h: Declaration for cp_cha_is_constructor. * cp/class.c: Definition for cp_cha_is_constructor. (cp_fold_obj_type_ref): Add additional checks. * common.opt: Add ipa-cha flag. * timevar.def: Add IPA CHA optimization. * passes.c: Add IPA CHA pass. * tree-pass.h: Same.