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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Simoes Dias Vieira
<avie...@gcc.gnu.org>:

https://gcc.gnu.org/g:e10ca9544632dbff4759b4b92886cd96d0b9bdfe

commit r13-3413-ge10ca9544632dbff4759b4b92886cd96d0b9bdfe
Author: Andre Vieira <andre.simoesdiasvie...@arm.com>
Date:   Thu Oct 20 15:54:39 2022 +0100

    vect: Fix vectype when widening container type in bitfield pattern
[PR107326]

    The 'vect_recog_bitfield_ref_pattern' was not correctly adapting the
vectype
    when widening the container.

    gcc/ChangeLog:

            PR tree-optimization/107326
            * tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Change
            vectype when widening container.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/pr107326.c: New test.
            * gcc.dg/vect/vect-bitfield-read-7.c: New test.

Reply via email to