[llvm-commits] CVS: llvm/test/Programs/SingleSource/mandel.c
Michael Brukman
brukman at cs.uiuc.edu
Fri May 30 14:59:01 PDT 2003
Changes in directory llvm/test/Programs/SingleSource:
mandel.c updated: 1.4 -> 1.5
---
Log message:
Sparcs are not C99-compliant and do not support complex numbers.
So we must ignore this test case if compiling in Sparc.
---
Diffs of the changes:
Index: llvm/test/Programs/SingleSource/mandel.c
diff -u llvm/test/Programs/SingleSource/mandel.c:1.4 llvm/test/Programs/SingleSource/mandel.c:1.5
--- llvm/test/Programs/SingleSource/mandel.c:1.4 Fri May 30 13:04:52 2003
+++ llvm/test/Programs/SingleSource/mandel.c Fri May 30 14:58:09 2003
@@ -1,3 +1,10 @@
+/* Sparc is not C99-compliant */
+#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
+
+int main() { return 0; }
+
+#else /* sparc */
+
#define ESCAPE 2
#define IMAGE_SIZE 10
#define START_X -2.0
@@ -32,3 +39,5 @@
mandel();
return 0;
}
+
+#endif /* sparc */
More information about the llvm-commits
mailing list