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

--- Comment #3 from GCC 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:119f5ae0455f02568159eafa9008a555605e7d71

commit r14-9425-g119f5ae0455f02568159eafa9008a555605e7d71
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Mar 11 09:35:07 2024 +0100

    middle-end/114299 - missing error recovery from gimplify failure

    When internal_get_tmp_var fails to gimplify the value the temporary
    SSA name is supposed to be initialized with we can leak SSA names
    with a NULL SSA_NAME_DEF_STMT into the IL.  That's bad, so recover
    from this by instead returning a decl in that case.

            PR middle-end/114299
            * gimplify.cc (internal_get_tmp_var): When gimplification
            of VAL failed, return a decl.

            * gcc.target/i386/pr114299.c: New testcase.

Reply via email to