[Bug middle-end/116003] [15 Regression] ICE: in register_initial_def, at value-relation.cc:610 with -O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop and _BitInt()

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 19 21:45:29 GMT 2024


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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <amacleod@gcc.gnu.org>:

https://gcc.gnu.org/g:01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29

commit r15-2165-g01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Fri Jul 19 17:39:40 2024 -0400

    Check for SSA_NAME not in the IL yet.

    Check for an SSA_NAME not in the CFG before trying to create an
    equivalence record in the defintion block.

            PR tree-optimization/116003
            gcc/
            * value-relation.cc (equiv_oracle::register_initial_def): Check
            if SSA_NAME is in the IL before registering.

            gcc/testsuite/
            * gcc.dg/pr116003.c: New.


More information about the Gcc-bugs mailing list