[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 13 08:39:28 GMT 2021


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:

https://gcc.gnu.org/g:3b61f06b2e1e7e72fcb6c0cf3590cb25eb92c4f2

commit r12-5921-g3b61f06b2e1e7e72fcb6c0cf3590cb25eb92c4f2
Author: Jan Hubicka <jh@suse.cz>
Date:   Mon Dec 13 09:38:53 2021 +0100

    Do not ICE on ternary expressions when calculating value ranges

    gcc/ChangeLog:

    2021-12-12  Jan Hubicka  <hubicka@ucw.cz>

            PR ipa/103513
            * ipa-fnsummary.c (evaluate_conditions_for_known_args): Do not ICE
            on ternary expression.

    gcc/testsuite/ChangeLog:

    2021-12-12  Jan Hubicka  <hubicka@ucw.cz>

            PR ipa/103513
            * gcc.c-torture/compile/pr103513.c: New test.


More information about the Gcc-bugs mailing list