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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <[email protected]>:

https://gcc.gnu.org/g:8e869a0d0eff6dd26ba3c2cfade4b673a3c9db42

commit r16-7082-g8e869a0d0eff6dd26ba3c2cfade4b673a3c9db42
Author: Iain Buclaw <[email protected]>
Date:   Tue Jan 27 21:51:40 2026 +0100

    d: Side effects not evaluated for array literals on stack [PR120096]

            PR d/120096

    gcc/d/ChangeLog:

            * expr.cc (ExprVisitor::visit (ArrayLiteralExp *)): Include saved
side
            effects in expression result.

    gcc/testsuite/ChangeLog:

            * gdc.dg/torture/pr120096.d: New test.

Reply via email to