Re: [PATCH] tree-optimization/109524 - ICE with VRP edge removal

2023-04-17 Thread Jakub Jelinek via Gcc-patches
On Mon, Apr 17, 2023 at 08:41:38AM +, Richard Biener wrote: > VRP queues edges to process late for updating global ranges for > __builtin_unreachable. But this interferes with edge removal > from substitute_and_fold. The following deals with this by > looking up the edge with source/dest bloc

[PATCH] tree-optimization/109524 - ICE with VRP edge removal

2023-04-17 Thread Richard Biener via Gcc-patches
VRP queues edges to process late for updating global ranges for __builtin_unreachable. But this interferes with edge removal from substitute_and_fold. The following deals with this by looking up the edge with source/dest block indices which do not become stale. For GCC 14 we probably want to ref