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

--- Comment #3 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:11a4714860d2df6ba496d55379e7dc702d5fc425

commit r12-4430-g11a4714860d2df6ba496d55379e7dc702d5fc425
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Oct 15 08:41:57 2021 +0200

    ipa/102762 - fix ICE with invalid __builtin_va_arg_pack () use

    We have to be careful to not break the argument space calculation.
    If there's not enough arguments just do not append any.

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

            PR ipa/102762
            * tree-inline.c (copy_bb): Avoid underflowing nargs.

            * gcc.dg/torture/pr102762.c: New testcase.

Reply via email to