re PR target/84772 (powerpc-spe: Spurious "is used uninitialized" warning, or possibl...
authorJakub Jelinek <jakub@redhat.com>
Fri, 9 Mar 2018 22:23:14 +0000 (23:23 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Mar 2018 22:23:14 +0000 (23:23 +0100)
commit2956d3a8ddf9b1c676ab54b1a081a007f5081b8e
tree4ae4bf3c6ce9de041908d06861f612eccc5d20dd
parent1577f10a637352b4fe7fb4a4c0fd672a96c84f58
re PR target/84772 (powerpc-spe: Spurious "is used uninitialized" warning, or possibly incorrect codegen for va_arg(long double))

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.

From-SVN: r258399
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]