[Bug tree-optimization/105943] [12/13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2640

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 13 13:00:04 GMT 2022


Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
          Component|c                           |tree-optimization

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

I don't think this is supported this way.
Ifcvt adds LOOP_VECTORIZED as a way to version (at compile time) the converted
loop and only keep around one version of it post vectorizer.
And now you disabled the vectorizer pass.

Also the reason why it is a regression is because the vectorizer is now turned
on at -O2.
You would run into the same issue before with -O3 and then that would date to
either when the option -fdisable was added or when LOOP_VECTORIZED internal
function was added (I don't know which one was first).

More information about the Gcc-bugs mailing list