public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Ilya Enkovich <enkovich.gnu@gmail.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix ICE for masked store of boolean value
Date: Thu, 12 Nov 2015 22:40:00 -0000	[thread overview]
Message-ID: <56451545.4030003@redhat.com> (raw)
In-Reply-To: <20151112154842.GF51435@msticlxl57.ims.intel.com>

On 11/12/2015 08:48 AM, Ilya Enkovich wrote:
> Hi,
>
> We may get ICE in vectorizer in case stored value get vectype not compatible with a storage.  This may happen for bool values.  This patch fixes ICE.  Bootstrapped and tested on x86_64-unknown-linux-gnu.  OK for trunk?
>
> Thanks,
> Ilya
> --
> gcc/
>
> 2015-11-12  Ilya Enkovich  <enkovich.gnu@gmail.com>
>
> 	* tree-vect-stmts.c (vectorizable_mask_load_store): Check
> 	types of stored value and storage are compatible.
>
> gcc/testsuite/
>
> 2015-11-12  Ilya Enkovich  <enkovich.gnu@gmail.com>
>
> 	* g++.dg/vect/simd-mask-store-bool.cc: New test.
OK.
jeff

      reply	other threads:[~2015-11-12 22:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 15:49 Ilya Enkovich
2015-11-12 22:40 ` Jeff Law [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56451545.4030003@redhat.com \
    --to=law@redhat.com \
    --cc=enkovich.gnu@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).