PR target/84772
commit0e62c7ffe60236a0235e4a95eca8ad6ca8da7ccd
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2018 22:23:14 +0000 (9 22:23 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2018 22:23:14 +0000 (9 22:23 +0000)
tree4ae4bf3c6ce9de041908d06861f612eccc5d20dd
parent80fdc40f9056b2ea04654bd642699e2bfbd09a68
PR target/84772
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Mark va_arg_tmp
temporary TREE_ADDRESSABLE before gimplification of BUILT_IN_MEMCPY.
* config/powerpcspe/powerpcspe.c (rs6000_gimplify_va_arg): Likewise.

* gcc.dg/pr84772.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258399 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/powerpcspe/powerpcspe.c
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr84772.c [new file with mode: 0644]