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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:2691ffe6dbaffb704593dd6220178c28848b3855

commit r10-7201-g2691ffe6dbaffb704593dd6220178c28848b3855
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Mon Mar 16 23:53:20 2020 +0100

    d: Fix assignment to anonymous union member corrupts sibling members in
struct

    gcc/d/ChangeLog:

            PR d/92309
            * types.cc (fixup_anonymous_offset): Don't set DECL_FIELD_OFFSET on
            anonymous fields.

    gcc/testsuite/ChangeLog:

            PR d/92309
            * gdc.dg/pr92309.d: New test.

Reply via email to