[Bug target/84772] powerpc-spe: Spurious "is used uninitialized" warning, or possibly incorrect codegen for va_arg(long double)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 22 20:36:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84772

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 20:35:29 2018
New Revision: 261918

URL: https://gcc.gnu.org/viewcvs?rev=261918&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-09  Jakub Jelinek  <jakub@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-7-branch/gcc/testsuite/gcc.dg/pr84772.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list