OSDN Git Service

PR tree-optimization/34407
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2007 08:08:12 +0000 (08:08 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2007 08:08:12 +0000 (08:08 +0000)
* gcc.dg/vect/pr34407.c: New test.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr34407.c [new file with mode: 0644]

index 9311821..33e5663 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR tree-optimization/34407
+       * gcc.dg/vect/pr34407.c: New test.
+
 2007-12-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/34411
        PR target/34312
        * gcc.target/i386/pr34312.c: New test.
 
-2007-12-05  Tobias Burnus  <bU    gcc/stmt.c
+2007-12-05  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/34333
        * gfortran.dg/nan_2.f90: New.
diff --git a/gcc/testsuite/gcc.dg/vect/pr34407.c b/gcc/testsuite/gcc.dg/vect/pr34407.c
new file mode 100644 (file)
index 0000000..3da2ed7
--- /dev/null
@@ -0,0 +1,16 @@
+/* { dg-do compile } */
+
+extern int ReadBlobByte (void);
+
+void ReadRLEImage (unsigned char *p)
+{
+  unsigned char background_color[4] = { 0, 1, 2, 3 };
+  long j;
+
+  unsigned long number_planes = ReadBlobByte();
+
+  for (j = 0; j < (long) number_planes; j++)
+    *p++ = background_color[j];
+}
+
+/* { dg-final { cleanup-tree-dump "vect" } } */