ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard division by zero...
authorMartin Liska <mliska@suse.cz>
Fri, 24 Oct 2014 06:06:20 +0000 (08:06 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 24 Oct 2014 06:06:20 +0000 (08:06 +0200)
commitf1c859ee84ad2d44fa9fc1867b183c47ee1d0489
tree4cf7eb2f0d17605bcd0fb6112e7ab3a42ea7f915
parent5eda5bad3c455d499b6a3611b433f2945caa239d
ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard division by zero in dumps.

* ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
division by zero in dumps.
(sem_item_optimizer::merge_classes): Ditto.

From-SVN: r216612
gcc/ChangeLog
gcc/ipa-icf.c