]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
vect-99.c: Include stdlib.h and tree-vect.h.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 3 Mar 2008 07:39:58 +0000 (08:39 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 3 Mar 2008 07:39:58 +0000 (08:39 +0100)
        * gcc.dg/vect/vect-99.c: Include stdlib.h and tree-vect.h.
        (main): Call check_vect and foo.  Check array values after
        the call to foo.

From-SVN: r132833

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-99.c

index 0eae31108d6a3fd70f4832a6bac6d79e5989b8cb..63e8ec67140d0a2a2ab3cab8e0f11a6655cb4933 100644 (file)
@@ -1,3 +1,9 @@
+2008-03-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/vect/vect-99.c: Include stdlib.h and tree-vect.h.
+       (main): Call check_vect and foo.  Check array values after
+       the call to foo.
+
 2008-02-25  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.target/i386/sse-18.c: Pass if CPU has no SSE2 support.
@@ -34,7 +40,7 @@
 
 2008-02-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
-        * g++.dg/tree-ssa/ivopts-1.C: Remove xfails for hppa*-*-*.
+       * g++.dg/tree-ssa/ivopts-1.C: Remove xfails for hppa*-*-*.
 
 2008-02-05  Richard Guenther  <rguenther@suse.de>
 
 
 2007-02-13  Richard Henderson  <rth@redhat.com>
 
-        * gcc.c-torture/execute/ieee/pr29302-1.c: Moved from...
-        * gcc.c-torture/execute/pr29302-1.c: ... here.
+       * gcc.c-torture/execute/ieee/pr29302-1.c: Moved from...
+       * gcc.c-torture/execute/pr29302-1.c: ... here.
 
 2007-02-12  Paul Thomas  <pault@gcc.gnu.org>
 
        PR debug/30189
        * gcc.dg/pr30189.c: New test.
 
-2007-02-05      Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+2007-02-05  Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
 
        * gcc.dg/i386-cpuid.h: Test whether SSE4A is supported
        for running tests.
 
 2006-12-21  Steven G. Kargl  <kargl@gcc.gnu.org>
 
-        PR fortran/30207
-        * gfortran.fortran-torture/execute/where21.f90: New test.
+       PR fortran/30207
+       * gfortran.fortran-torture/execute/where21.f90: New test.
 
 2006-12-21  Paul Thomas  <pault@gcc.gnu.org>
            Tobias Burnus  <burnus@gcc.gnu.org>
 
 2006-12-07  Lee Millward  <lee.millward@codesourcery.com>
 
-        PR c++/29980
-        * g++.dg/ext/attrib27.C: New test.
-        * g++.dg/parse/struct-as-enum1.C: Adjust error markers.
-        * g++.dg/parse/typedef5.C: Likewise.
+       PR c++/29980
+       * g++.dg/ext/attrib27.C: New test.
+       * g++.dg/parse/struct-as-enum1.C: Adjust error markers.
+       * g++.dg/parse/typedef5.C: Likewise.
 
 2006-12-07  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/template/error23.C: New test.
 
 2006-12-04  Richard Henderson  <rth@redhat.com>
-            Andrew Pinski  <pinskia@gmail.com>
+           Andrew Pinski  <pinskia@gmail.com>
 
        PR C++/14329
        * g++.dg/warn/unit-1.C: New test.
        * gfortran.dg/interface_3.f90: Modify errors.
 
 2006-11-27  Michael Matz  <matz@suse.de>
-            Andreas Krebbel  <krebbel1@de.ibm.com>
+           Andreas Krebbel  <krebbel1@de.ibm.com>
 
        PR target/29319
        * gcc.dg/20061127-1.c: New testcase.
        * gcc.c-torture/execute/20061031-1.c: New test.
 
 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
-            Richard Sandiford  <richard@codesourcery.com>
+           Richard Sandiford  <richard@codesourcery.com>
 
        * lib/target-supports.exp (get_compiler_messages): Append options
        as a single list element.
 
 2006-10-30  Tobias Burnus  <burnus@net-b.de>
 
-       PR fortran/29452
-       * gfortran.dg/write_check.f90: Check run-time keyword checking.
-       * gfortran.dg/write_check2.f90: Check compile-time keyword checking.
+       PR fortran/29452
+       * gfortran.dg/write_check.f90: Check run-time keyword checking.
+       * gfortran.dg/write_check2.f90: Check compile-time keyword checking.
 
 2006-10-30  Joseph Myers  <joseph@codesourcery.com>
 
 
 2006-10-20  Lee Millward  <lee.millward@codesourcery.com>
 
-        PR c++/28053
-        * g++.dg/parse/bitfield1.C: Adjust error markers.
-        * g++.dg/parse/bitfield2.C: New test.
+       PR c++/28053
+       * g++.dg/parse/bitfield1.C: Adjust error markers.
+       * g++.dg/parse/bitfield2.C: New test.
 
 2006-10-20  Adam Nemet  <anemet@caviumnetworks.com>
 
index 288f2ae8daf250fa840ecf516afa6f88d5fe2c0c..30d365cbf4f2306b7a8e02f533a53849f538a55b 100644 (file)
@@ -1,5 +1,8 @@
 /* { dg-require-effective-target vect_int } */
 
+#include <stdlib.h>
+#include "tree-vect.h"
+
 int ca[100];
 
 void foo (int n)
@@ -12,6 +15,16 @@ void foo (int n)
 
 int main (void)
 {
+  int i;
+
+  check_vect ();
+
+  foo(100);
+
+  for (i = 0; i < 100; ++i) {
+    if (ca[i] != 2)
+      abort();
+  }
   return 0;
 }