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

--- Comment #22 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:1a2a7096e5e20d736c6138179470b21aa5a74864

commit r11-7296-g1a2a7096e5e20d736c6138179470b21aa5a74864
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Feb 19 09:38:52 2021 +0100

    middle-end/99122 - more VLA inlining fixes

    This avoids declaring a function with VLA arguments or return values
    as inlineable.  IPA CP still ICEs, so the testcase has that disabled.

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

            PR middle-end/99122
            * tree-inline.c (inline_forbidden_p): Do not inline functions
            with VLA arguments or return value.

            * gcc.dg/pr99122-3.c: New testcase.

Reply via email to