]> gcc.gnu.org Git - gcc.git/commit
Check for SSA_NAME not in the IL yet.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 19 Jul 2024 21:39:40 +0000 (17:39 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 19 Jul 2024 21:39:40 +0000 (17:39 -0400)
commit01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29
tree4592ca55967c8ae428b1ff88934404bca6f8e61a
parenta95c1911d8e8fd0c76fc67232ebc1176162ec8d7
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.
gcc/testsuite/gcc.dg/pr116003.c [new file with mode: 0644]
gcc/value-relation.cc
This page took 0.059198 seconds and 5 git commands to generate.