https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 8 19:02:24 2019 New Revision: 277989 URL: https://gcc.gnu.org/viewcvs?rev=277989&root=gcc&view=rev Log: PR c++/92384 * function.c (assign_parm_setup_block, assign_parm_setup_stack): Don't copy TYPE_EMPTY_P arguments from data->entry_parm to data->stack_parm slot. (assign_parms): For TREE_ADDRESSABLE parms with TYPE_EMPTY_P type force creation of a unique data.stack_parm slot. * g++.dg/torture/pr92384.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/torture/pr92384.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/function.c branches/gcc-9-branch/gcc/testsuite/ChangeLog