On 11/23/2017 05:49 AM, Richard Biener wrote: > On Thu, Nov 23, 2017 at 1:16 AM, Jeff Law wrote: >> >> Clients of the evrp range analysis may not have initialized the SCEV >> infrastructure, and in fact my not want to (DOM for example). >> >> Yet inside both vr-values.c and gimple-ssa-evrp-analyze.c we have calls >> into SCEV (that will fault/abort if SCEV is not properly initialized). >> >> This patch allows clients of vr-values.c and gimple-ssa-evrp-analyze.c >> to indicate if they want SCEV analysis. >> >> Bootstrapped and regression tested by itself as well as with the DOM >> patches to use EVRP analysis (which test the "don't want SCEV path). >> >> OK for the trunk? > > There's also scev_initialized_p () which you could conveniently use. Yea, that worked fine and is (of course) much simpler. Bootstrapped and regression tested in isolation as well as on top of my ongoing work to remove jump threading from tree-vrp.c. OK for the trunk now? Jeff