This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR50328
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Sep 2011 07:54:34 -0700
- Subject: Re: [PATCH] Fix PR50328
- References: <alpine.LNX.2.00.1109091214390.2130@zhemvz.fhfr.qr>
On Fri, Sep 9, 2011 at 3:15 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> This fixes our inability to handle reductions with a constant
> or a parameter.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, the testcase
> requires all the previously posted patches from today to not ICE
> and pass though.
>
> Richard.
>
> 2011-09-09 ?Richard Guenther ?<rguenther@suse.de>
>
> ? ? ? ?PR tree-optimization/50328
> ? ? ? ?* tree-vect-loop.c (vect_is_simple_reduction_1): Allow one
> ? ? ? ?constant or default-def operand.
>
> ? ? ? ?* gcc.dg/vect/fast-math-vect-outer-7.c: New testcase.
>
This may have caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50343
--
H.J.