[Bug tree-optimization/103845] ICE in execute, at gimple-harden-conditionals.cc:552 -fharden-compares -fno-ipa-pure-const and returns_twice

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 25 01:20:01 GMT 2022


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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aoliva@gcc.gnu.org>:

https://gcc.gnu.org/g:33c7df5854ecb31e2d645ab672ad3987b591ebfd

commit r12-7383-g33c7df5854ecb31e2d645ab672ad3987b591ebfd
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 24 22:03:38 2022 -0300

    Add testcase from PR103845

    This problem was already fixed as part of PR104263: the abnormal edge
    that remained from before inlining didn't make sense after inlining.
    So this patch adds only the testcase.


    for  gcc/testsuite/ChangeLog

            PR tree-optimization/103845
            PR tree-optimization/104263
            * gcc.dg/pr103845.c: New.


More information about the Gcc-bugs mailing list