r172308 - in /trunk/gcc/cp: ChangeLog class.c d...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Tue Apr 12 10:02:00 GMT 2011


Author: jamborm
Date: Tue Apr 12 10:02:31 2011
New Revision: 172308

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172308
Log:
2011-04-12  Martin Jambor  <mjambor@suse.cz>

gcc/cp/
	* class.c (cp_fold_obj_type_ref): Call cgraph_get_node instead of
	cgraph_get_create_node.
	* decl2.c (cp_write_global_declarations): Call cgraph_get_node
	instead of cgraph_get_create_node.
	* method.c (make_alias_for_thunk): Call cgraph_get_node
	instead of cgraph_get_create_node, assert it returns non-NULL.
	(use_thunk): Likewise.
	* optimize.c (maybe_clone_body): Call cgraph_same_body_alias only
	when flag_syntax_only is not set.  Call cgraph_get_node instead of
	cgraph_get_create_node.
	(maybe_clone_body): Call cgraph_get_node instead of
	cgraph_get_create_node.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/method.c
    trunk/gcc/cp/optimize.c



More information about the Gcc-cvs mailing list