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

--- Comment #13 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:06b8cdc8d7339ac44802044ef148dd86874333d8

commit r12-5709-g06b8cdc8d7339ac44802044ef148dd86874333d8
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Dec 2 12:23:22 2021 +0100

    middle-end/103271 - avoid VLA init of register

    This avoids using VLA types to initalize a register with
    -ftrivial-auto-var-init in some cases.

    2021-12-02  Richard Biener  <rguent...@suse.de>

            PR middle-end/103271
            * internal-fn.c (expand_DEFERRED_INIT): When the base
            of the LHS is a decl with matching constant size use
            that as the initialization target instead of an
            eventual VLA typed one.

Reply via email to