[patch] fix PR33373 (vectorizer ICE)

Dorit Nuzman DORIT@il.ibm.com
Mon Sep 10 11:31:00 GMT 2007


I accidentally treated TYPE_SIZE_UNIT as a constant (whereas it's a
tree...).

Bootstrapped with vectorization enabled on i386-linux, passed the
vectorizer testcases. Will commit once passes full regression testing.

dorit


        PR tree-optimization/33373
        * tree-vect-analyze (vect_determine_vectorization_factor): Call
        TREE_INT_CST_LOW when comparing TYPE_SIZE_UNIT.

        PR tree-optimization/33373
        * gcc.dg/vect/pr33373.c: New test.

(See attached file: pr33373.txt)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr33373.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070910/a080ee30/attachment.txt>


More information about the Gcc-patches mailing list