https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #11)
> Created attachment 60064 [details]
> gcc15-pr117927.patch
> 
> Untested patch I'm going to test soon.

The only question is vrp is not run at -O1 nor with -fno-tree-vrp. Should be
instead use say canonicalize_math_after_vectorization_p or something like that
instead; maybe PROP_gimple_lvec is too late? Though maybe it does not matter
for -O1.

Also since you are adding a PROP_, you might want to update dump_properties;
the patches I had to fix PROP_* are delayed until GCC 16 :(.

Reply via email to