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

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

https://gcc.gnu.org/g:f91770216eade83f068528c1e4f00e2ac3b23044

commit r11-2686-gf91770216eade83f068528c1e4f00e2ac3b23044
Author: Martin Liska <mli...@suse.cz>
Date:   Thu Aug 13 09:38:41 2020 +0200

    ipa: fix ICE in get_default_value

    The patch aligns code with ipcp_bits_lattice::set_to_constant
    where we properly mask m_value with m_mask. The same should
    be done here.

    gcc/ChangeLog:

            PR ipa/96482
            * ipa-cp.c (ipcp_bits_lattice::meet_with_1): Mask m_value
            with m_mask.

    gcc/testsuite/ChangeLog:

            PR ipa/96482
            * gcc.dg/ipa/pr96482-2.c: New test.

Reply via email to