https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111914
--- Comment #5 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:738d44348e7392a9f8e370afa3a9d8c24ee080cd commit r14-4864-g738d44348e7392a9f8e370afa3a9d8c24ee080cd Author: Richard Biener <rguent...@suse.de> Date: Mon Oct 23 13:29:30 2023 +0200 ipa/111914 - perform parameter init after remapping types The following addresses a mismatch in SSA name vs. symbol when we emit a dummy assignment when not optimizing. The temporary we create is not remapped by initialize_inlined_parameters because we have no easy way to get at it. The following instead emits the additional statement after we have remapped the type of the replacement variable. PR ipa/111914 * tree-inline.cc (setup_one_parameter): Move code emitting a dummy load when not optimizing ... (initialize_inlined_parameters): ... here to after when we remapped the parameter type. * gcc.dg/pr111914.c: New testcase.