https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97078
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:225a08220e444371ae4867b3e2ace275d30af3d3 commit r11-3257-g225a08220e444371ae4867b3e2ace275d30af3d3 Author: Eric Botcazou <ebotca...@adacore.com> Date: Thu Sep 17 12:58:02 2020 +0200 Fix assertion checking failure with tail call gcc/ChangeLog: PR middle-end/97078 * function.c (use_register_for_decl): Test cfun->tail_call_marked for a parameter here instead of... (assign_parm_setup_reg): ...here. gcc/testsuite/ChangeLog: * gcc.dg/pr97078.c: New test.