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

--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Eric Botcazou
<ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:01e80c4c630a5a6286a521b047d0ef80631c892c

commit r11-10463-g01e80c4c630a5a6286a521b047d0ef80631c892c
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Wed Jan 11 15:58:47 2023 +0100

    Fix problematic interaction between bitfields, unions, SSO and SRA

    The handling of bitfields by the SRA pass is peculiar and this must be
taken
    into account to support the scalar_storage_order attribute.

    gcc/
            PR tree-optimization/108199
            * tree-sra.c (sra_modify_expr): Deal with reverse storage order
            for bit-field references.

    gcc/testsuite/
            * gcc.dg/sso-17.c: New test.

Reply via email to