This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR70726
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Apr 2016 13:10:34 +0200
- Subject: Re: [PATCH] Fix PR70726
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1604191303050 dot 13384 at t29 dot fhfr dot qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Apr 19, 2016 at 01:03:51PM +0200, Richard Biener wrote:
> I am testing the following to fix PR70726.
>
> Bootstrap and regtest running on x86_64-unknown-linux-gnu.
>
> Richard.
>
> 2016-04-19 Richard Biener <rguenther@suse.de>
>
> PR tree-optimization/70726
> * tree-vect-stmts.c (vectorizable_shift): Do not use scalar
> shift amounts from a pattern stmt operand.
>
> * g++.dg/vect/pr70726.cc: New testcase.
Looks reasonable to me.
Jakub