https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84772
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Jun 25 17:31:23 2018 New Revision: 262074 URL: https://gcc.gnu.org/viewcvs?rev=262074&root=gcc&view=rev Log: Backported from mainline 2018-03-09 Jakub Jelinek <ja...@redhat.com> PR target/84772 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Mark va_arg_tmp temporary TREE_ADDRESSABLE before gimplification of BUILT_IN_MEMCPY. * gcc.dg/pr84772.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr84772.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/rs6000/rs6000.c branches/gcc-6-branch/gcc/testsuite/ChangeLog