[Bug ipa/93223] [9/10 Regression] ICE in devirtualization_time_bonus at gcc/ipa-cp.c:3161 since r261744

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 13 18:15:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93223

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Jambor <jamborm@gcc.gnu.org>:

https://gcc.gnu.org/g:8472660b98a31b32b7d030c2cdc4d41d326364d5

commit r10-5928-g8472660b98a31b32b7d030c2cdc4d41d326364d5
Author: Martin Jambor <mjambor@suse.cz>
Date:   Mon Jan 13 19:13:46 2020 +0100

    IPA: Avoid segfault in devirtualization_time_bonus (PR 93223)

    2020-01-13  Martin Jambor  <mjambor@suse.cz>

        PR ipa/93223
        * ipa-cp.c (devirtualization_time_bonus): Check whether isummary is
        NULL.

        testsuite/
        * g++.dg/ipa/pr93223.C: New test.


More information about the Gcc-bugs mailing list