This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix segfault in vectorizer
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ilya dot enkovich at intel dot com
- Date: Tue, 31 May 2016 12:14:49 +0200
- Subject: Re: [patch] Fix segfault in vectorizer
- Authentication-results: sourceware.org; auth=none
- References: <3369303 dot TJyCcmduk2 at polaris> <488231536 dot BZGa5HPg4J at polaris> <CAFiYyc0jizDA3x6eDmy3xOTeOb4aLvOPffTLLzOMfhPTvYuOPg at mail dot gmail dot com>
> I recall that some STMT_VINFO_RELEVANT_P checks have a ||
> STMT_VINFO_DEF_TYPE () == vect_reduction_def
> or VECTORIZABLE_CYCLE_DEF (STMT_VINFO_DEF_TYPE ()).
It's rather || STMT_VINFO_LIVE_P in most cases and this works here, the
vectorization is properly blocked:
opt56.adb:9:29: note: not vectorized: different sized masks types in
statement, vector(16) unsigned char and vector(4) <unnamed type>
opt56.adb:9:29: note: can't determine vectorization factor.
opt56.adb:6:4: note: vectorized 0 loops in function.
--
Eric Botcazou