aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2015-11-12 16:16:00 +0100
committerMartin Liska <marxin@gcc.gnu.org>2015-11-12 15:16:00 +0000
commit808b6bb7a8a4c30ac6f375ca2f6f0cb72fb3e766 (patch)
tree9c0e3a01a29255ea0316cfea7a3a7ce1fd63979b /gcc/omp-low.c
parentc2a12ca06dd0762c03ec8f0f3be3feb096119386 (diff)
downloadgcc-808b6bb7a8a4c30ac6f375ca2f6f0cb72fb3e766.zip
gcc-808b6bb7a8a4c30ac6f375ca2f6f0cb72fb3e766.tar.gz
gcc-808b6bb7a8a4c30ac6f375ca2f6f0cb72fb3e766.tar.bz2
re PR ipa/68035 (ipa performance issue when no procedures are present)
Fix PR ipa/68035 PR ipa/68035 * ipa-icf.c (void sem_item::set_hash): New function. (sem_function::get_hash): Use renamed m_hash member variable. (sem_item::update_hash_by_addr_refs): Utilize get_hash. (sem_item::update_hash_by_local_refs): Likewise. (sem_variable::get_hash): Use renamed m_hash member variable. (sem_item_optimizer::update_hash_by_addr_refs): Utilize get_hash. (sem_item_optimizer::build_hash_based_classes): Utilize set_hash. (sem_item_optimizer::build_graph): As the hash value of an item is lazy initialized, force the calculation. * ipa-icf.h (set_hash): Declare new function and rename hash member variable to m_hash. * gcc.dg/ipa/pr68035.c: New test. From-SVN: r230263
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions