OSDN Git Service

* gcc.target/powerpc/ppc64-abi-3.c: Initialize variables to suppress
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2008 17:52:16 +0000 (17:52 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2008 17:52:16 +0000 (17:52 +0000)
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140835 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/ppc64-abi-3.c

index b19e946..5e97937 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-02  Janis Johnson  <janis187@us.ibm.com>
+
+       * gcc.target/powerpc/ppc64-abi-3.c: Initialize variables to suppress
+       warning.
+
 2008-10-02  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/37713
 2008-10-02  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/37713
index 51e6364..8c78c9e 100644 (file)
@@ -21,8 +21,8 @@ g(v2si v)
 int 
 main()
 {
 int 
 main()
 {
-    v4si v;
-    v2si w;
+    v4si v = { 1, 2, 3, 4 };
+    v2si w = { 5, 6 };
     v = f (v); /* { dg-error "altivec instructions are disabled" "PR18631" { xfail *-*-* } } */
     w = g (w);
     return 0;
     v = f (v); /* { dg-error "altivec instructions are disabled" "PR18631" { xfail *-*-* } } */
     w = g (w);
     return 0;