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

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

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

commit r12-9041-geec3a65ed638a1c58fa08ddf508d2d60b64d311d
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.cc (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