This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/63379] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Oct 2014 12:21:25 +0000
- Subject: [Bug tree-optimization/63379] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value
- Auto-submitted: auto-generated
- References: <bug-63379-4 at http dot gcc dot gnu dot org/bugzilla/>
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.