This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix PR33373 (vectorizer ICE)


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)

Attachment: pr33373.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]