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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
            Summary|vectorization fails if      |vectorization fails for
                   |conversion from unsigned    |unsigned is used for IV but
                   |int to signed int is        |casted to int before using
                   |involved                    |as the index (and then
                   |                            |casted for internal type)
           Severity|minor                       |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
t999.cc:12:17: note: not vectorized: data ref analysis failed _4 = *_18;
t999.cc:12:17: note: bad data references.
Creating dr for *_18
analyze_innermost: failed: evolution of base is not affine.
        base_address:
        offset from base address:
        constant offset from base address:
        step:
        aligned to:
        base_object: *_18

Reply via email to