]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix CRLF problem with 20031012-1.c
authorR. Kelley Cook <kcook@gcc.gnu.org>
Thu, 16 Oct 2003 00:57:55 +0000 (00:57 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Thu, 16 Oct 2003 00:57:55 +0000 (00:57 +0000)
From-SVN: r72543

gcc/testsuite/gcc.c-torture/execute/20031012-1.c

index 54118229607db7413343a443238b4a8c4130c441..a1f3de8baeff37afeeebb551a4d02b67d3ea75ad 100644 (file)
@@ -1,32 +1,32 @@
-/* PR optimization/8750\r
-   Used to fail under Cygwin with \r
-   -O2 -fomit-frame-pointer        \r
-   Testcase by David B. Trout     */\r
-\r
-#if defined(STACK_SIZE) && STACK_SIZE < 16000\r
-#define ARRAY_SIZE (STACK_SIZE / 2)\r
-#define STRLEN    (ARRAY_SIZE - 9)\r
-#else\r
-#define ARRAY_SIZE 15000\r
-#define STRLEN     13371\r
-#endif\r
-\r
-extern void *memset (void *, int, __SIZE_TYPE__);\r
-extern void abort (void);\r
-\r
-static void foo ()\r
-{\r
-    char a[ARRAY_SIZE];\r
-\r
-    a[0]=0;\r
-    memset( &a[0], 0xCD, STRLEN );\r
-    a[STRLEN]=0;\r
-    if (strlen(a) != STRLEN)\r
-      abort ();\r
-}\r
-\r
-int main ( int argc, char* argv[] )\r
-{\r
-    foo();\r
-    return 0;\r
-}\r
+/* PR optimization/8750
+   Used to fail under Cygwin with 
+   -O2 -fomit-frame-pointer        
+   Testcase by David B. Trout     */
+
+#if defined(STACK_SIZE) && STACK_SIZE < 16000
+#define ARRAY_SIZE (STACK_SIZE / 2)
+#define STRLEN    (ARRAY_SIZE - 9)
+#else
+#define ARRAY_SIZE 15000
+#define STRLEN     13371
+#endif
+
+extern void *memset (void *, int, __SIZE_TYPE__);
+extern void abort (void);
+
+static void foo ()
+{
+    char a[ARRAY_SIZE];
+
+    a[0]=0;
+    memset( &a[0], 0xCD, STRLEN );
+    a[STRLEN]=0;
+    if (strlen(a) != STRLEN)
+      abort ();
+}
+
+int main ( int argc, char* argv[] )
+{
+    foo();
+    return 0;
+}