https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94980

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:4c0283b9ad75b128b79c507d78d678123fe9f471

commit r11-313-g4c0283b9ad75b128b79c507d78d678123fe9f471
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Tue May 12 09:01:13 2020 +0100

    tree-vect-generic: Fix bitfield widths [PR94980 3/3]

    This third patch of three actually fixes the PR.  We were using
    8-bit BIT_FIELD_REFs to access single-bit elements, and multiplying
    the vector index by 8 bits rather than 1 bit.

    2020-05-12  Richard Sandiford  <richard.sandif...@arm.com>

    gcc/
            PR tree-optimization/94980
            * tree-vect-generic.c (expand_vector_comparison): Use
            vector_element_bits_tree to get the element size in bits,
            rather than using TYPE_SIZE.
            (expand_vector_condition, vector_element): Likewise.

    gcc/testsuite/
            PR tree-optimization/94980
            * gcc.target/i386/pr94980.c: New test.

Reply via email to