r221031 - in /trunk/gcc: ChangeLog ipa-icf.c ip...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Thu Feb 26 20:21:00 GMT 2015


Author: marxin
Date: Thu Feb 26 20:21:38 2015
New Revision: 221031

URL: https://gcc.gnu.org/viewcvs?rev=221031&root=gcc&view=rev
Log:
Fix PR ipa/64693

	PR ipa/64693
	* ipa-icf.c (symbol_compare_collection::symbol_compare_collection): New.
	(sem_item_optimizer::subdivide_classes_by_sensitive_refs): New function.
	(sem_item_optimizer::process_cong_reduction): Include division by
	sensitive references.
	* ipa-icf.h (struct symbol_compare_hashmap_traits): New class.
	* ipa-ref.c (ipa_ref::address_matters_p): New function.
	* ipa-ref.h (ipa_ref::address_matters_p): Likewise.
	* g++.dg/ipa/pr64146.C: Update expected results.
	* gcc.dg/ipa/ipa-icf-26.c: Update test.
	* gcc.dg/ipa/ipa-icf-33.c: Remove redundant line.
	* gcc.dg/ipa/ipa-icf-34.c: New test.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
    trunk/gcc/ipa-icf.h
    trunk/gcc/ipa-ref.c
    trunk/gcc/ipa-ref.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ipa/pr64146.C
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-icf-26.c
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-icf-33.c



More information about the Gcc-cvs mailing list