re PR target/31334 (Bad codegen for vector initializer with constants prop'd into...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Fri, 28 Mar 2008 07:27:11 +0000 (07:27 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 28 Mar 2008 07:27:11 +0000 (00:27 -0700)
commit501fb355e6fa564e8acdcf9ac1c1766c61afd097
tree93d46895673dfc10520d7fad5f42cd4ab9b51384
parent15f4eb4428764da231f74ef77d677abad74355f8
re PR target/31334 (Bad codegen for vector initializer with constants prop'd into a vector initializer)

2008-03-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR target/31334
        * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a
        const_vector when all the vectors are constant.

2008-03-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR target/31334
        * gcc.target/powerpc/altivec-25.c: Nnew testcase.

From-SVN: r133674
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-25.c [new file with mode: 0644]