[patch] PR31041 - fix vectorizer ICE

Richard Guenther richard.guenther@gmail.com
Thu Mar 15 11:41:00 GMT 2007


On 3/15/07, Dorit Nuzman <DORIT@il.ibm.com> wrote:
>
> Hi,
>
> We generate the following invalid gimple:
>
>   stmp_var_.41_63 = (int) j_34 + 1;
>   stmp_var_.42_64 = stmp_var_.41_63 + 1;
>   stmp_var_.43_65 = stmp_var_.42_64 + 1;
>   vect_cst_.44_66 = {(int) j_34, stmp_var_.41_63,
> stmp_var_.42_64,stmp_var_.43_65};
>
> This patch fixes that by calling force_gimple_operand.
>
> Bootstrapped on powerpc-linux, tested on the vectorizer testcases.
> OK for mainline once completes full regression testing?

This is ok after testing finished.

Thanks,
Richard.

> thanks,
> dorit
>
>         PR tree-optimization/31041
>         * tree-vect-transform.c (get_initial_def_for_induction): Call
>         force_gimple_operand.
>
> (See attached file: mar15.txt)
>



More information about the Gcc-patches mailing list