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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:1dae802b685937b1dc52e49d0641c75f3186ba14

commit r12-3445-g1dae802b685937b1dc52e49d0641c75f3186ba14
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Sep 10 10:17:24 2021 +0200

    middle-end/102269 - avoid auto-init of empty types

    This avoids initializing empty types for which we'll eventually
    leave a .DEFERRED_INIT call without a LHS.

    2021-09-10  Richard Biener  <rguent...@suse.de>

            PR middle-end/102269
            * gimplify.c (is_var_need_auto_init): Empty types do not need
            initialization.

            * gcc.dg/pr102269.c: New testcase.

Reply via email to