This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/63379] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |50414

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The simple fix makes gcc.dg/vect/no-scevccp-noreassoc-slp-reduc-7.c ICE as
there
we have a MAX<MAX<x, red_1>, y> reduction.  Not sure why this goes the SLP
way here - still need to investigate properly.  Ah, that testcase was added
when that broken MIN/MAX_EXPR handling was added:

r178941 | irar | 2011-09-18 13:36:15 +0200 (Sun, 18 Sep 2011) | 6 lines


        PR tree-optimization/50414
        * tree-vect-slp.c (vect_get_constant_vectors): Handle MAX_EXPR
        and MIN_EXPR.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]