[Bug tree-optimization/43107] [4.5 Regression] ICE: SIGSEGV with -O3 -mavx
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 22:17:00 GMT 2010
------- Comment #3 from jakub at gcc dot gnu dot org 2010-02-17 22:17 -------
The
@@ -24597,7 +24610,7 @@ avx_vpermilp_parallel (rtx par, enum machine_mode mode)
if (!CONST_INT_P (er))
return 0;
ei = INTVAL (er);
- if (ei >= nelt)
+ if (ei >= 2 * nelt)
return 0;
ipar[i] = ei;
}
hunk in
http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01730.html
seems to be the culprit. I can't see how allowing values nelt or larger can be
correct, e.g. the mask returned by it is certainly wrong in that case.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43107
More information about the Gcc-bugs
mailing list