> Am 20.01.2026 um 16:20 schrieb Andrew MacLeod <[email protected]>:
> 
> Ranger currently traps when it is invoked on an ssa-name which has an 
> SSA_NAME_DEF_STMT which does not have a BB set.   This is occuring more 
> frequently as we extend ranger to being used for things under construction.
> 
> There is nothing fundamentally wrong with the situation, it was just never 
> encountered previously.  This patch adjusts it such that we simply do not go 
> looking for range-on-entry information if the statement is not assocaited 
> with a block.  Otherwise it will continue to try to fold the statement and 
> estimate a range as best it can.
> 
> Currently undergoing bootstrapping and regtests on x86_64-pc-linux-gnu.  OK 
> if it all passes?   I'm offline for a few days after today, so early approval 
> would be helpful :-)

A def-stmt should be always there.  Otherwise OK.

Richard 

> Andrew
> 
> <0016-Do-not-trap-on-a-stmt-with-no-basic-block.patch>

Reply via email to