diff options
author | Richard Biener <rguenther@suse.de> | 2025-07-16 20:19:44 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-07-17 08:02:06 +0200 |
commit | 9af57c471087a3a1b87621bce1208d6c77ba2a4a (patch) | |
tree | 56940f827093b110da030b7ef7917a2e29dc2a61 /gcc/tree-ssa-loop-prefetch.cc | |
parent | 803013b9322b044c780748701902d72cc044ac21 (diff) | |
download | gcc-9af57c471087a3a1b87621bce1208d6c77ba2a4a.zip gcc-9af57c471087a3a1b87621bce1208d6c77ba2a4a.tar.gz gcc-9af57c471087a3a1b87621bce1208d6c77ba2a4a.tar.bz2 |
tree-optimization/121035 - handle stray VN values without expression
When VN iterates we can end up with unreachable inserted expressions
in the expression tables which in turn will not be added to their
value by PREs compute_avail. This will later ICE when we pick
them up and want to generate them. Deal with this by giving up.
PR tree-optimization/121035
* tree-ssa-pre.cc (find_or_generate_expression): Handle
values without expression.
* gcc.dg/pr121035.c: New testcase.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions