https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100791
--- Comment #4 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:359c0a86e2974a9f3036bc05b6e6c661f2c463cf commit r12-1113-g359c0a86e2974a9f3036bc05b6e6c661f2c463cf Author: Richard Biener <rguent...@suse.de> Date: Fri May 28 13:31:35 2021 +0200 ipa/100791 - copy fntype when processing __builtin_va_arg_pack This missing copying exposed a type mismatch in the IL. 2021-05-28 Richard Biener <rguent...@suse.de> PR ipa/100791 * tree-inline.c (copy_bb): When processing __builtin_va_arg_pack copy fntype from original call. * gcc.dg/pr100791.c: New testcase.