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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|anlauf at gmx dot de               |anlauf at gcc dot 
gnu.org

--- Comment #9 from anlauf at gcc dot gnu.org ---
The loop can be vectorized if the final value of the 'saved' scalar can be
determined.

Some vectorizing compilers (Cray, NEC) offer directives (e.g. lstval/nolstval)
to control the evaluation of that scalar, and sometimes suggest to add that
directive in front of the loop.

I think the requirements for handling this are very similar to those for the
OpenMP lastprivate declaration.

Reply via email to