2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Dec 2008 20:19:54 +0000 (20:19 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Dec 2008 20:19:54 +0000 (20:19 +0000)
PR middle-end/38413
* gcc.dg/graphite/pr38413.c: New.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr38413.c [new file with mode: 0644]

index 75297a2..ea22eb4 100644 (file)
@@ -1,6 +1,11 @@
 2008-12-11  Sebastian Pop  <sebastian.pop@amd.com>
 
-       PR middle-end/38459
+       PR middle-end/38413
+       * gcc.dg/graphite/pr38413.c: New.
+
+2008-12-11  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR middle-end/37857
        * gfortran.dg/graphite/pr37857.f90: New.
 
 2008-12-11  Harsha Jagasia  <harsha.jagasia@amd.com>
diff --git a/gcc/testsuite/gcc.dg/graphite/pr38413.c b/gcc/testsuite/gcc.dg/graphite/pr38413.c
new file mode 100644 (file)
index 0000000..6c2b23a
--- /dev/null
@@ -0,0 +1,14 @@
+/* { dg-options "-O2 -fgraphite-identity" } */
+
+static int qsz;
+
+void specqsort(base, n, size, compar)
+     char *base;
+{
+  register char c, *i, *j, *lo, *hi;
+  qsz = size;
+  for (i = base, hi = base + qsz; i < hi; ) 
+    {
+      *i++ = c;
+    }
+}