This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Guard division by zero in ipa-icf dumps


Hello!

2014-10-24  Martin Liska  <mliska@suse.cz>

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

Tested on alphaev68-linux-gnu, committed to mainline as obvious.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]