re PR middle-end/72747 (powerpc: wrong code generated for vec_splats in cascading...
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Fri, 28 Oct 2016 13:28:46 +0000 (13:28 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Fri, 28 Oct 2016 13:28:46 +0000 (13:28 +0000)
commit0faf9ab4d6abd4f5b74ec2ca46a59a0c4b85f6a4
tree0c6a5fcd0df4eadf8a1dfeaa1c7da5091c31c4c4
parent2a762fe1652ff05808a82c5169e44412516de7da
re PR middle-end/72747 (powerpc: wrong code generated for vec_splats in cascading assignment)

gcc:
2016-10-26  Will Schmidt <will_schmidt@vnet.ibm.com>

        PR middle-end/72747
        * gimplify.c (gimplify_init_constructor): Move emit of constructor
        assignment to earlier in the if/else logic.

testsuite:
2016-10-26  Will Schmidt <will_schmidt@vnet.ibm.com>

        PR middle-end/72747
        * c-c++-common/pr72747-1.c: New test.
        * c-c++-common/pr72747-2.c: Likewise.

From-SVN: r241647
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr72747-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/pr72747-2.c [new file with mode: 0644]