]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/compile/pr25310.c: Disable test on 16-bit targets.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 13 Jan 2006 21:27:18 +0000 (21:27 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Fri, 13 Jan 2006 21:27:18 +0000 (21:27 +0000)
From-SVN: r109676

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr25310.c

index daf4596b8c441e32a2435061d3ea2143cfa81a84..f951d73434bf77ce330cae0ec436b3b324a9d781 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gcc.c-torture/compile/pr25310.c: Disable test on 16-bit targets.
+
 2006-01-13  Bernhard Fischer  <rep.nop@aon.at>
 
        PR fortran/25756
index 4cd3087fddc23b2f57e8894b19e0f68b465d3f56..71081d821112265a221ea67e54270a969f87c0d3 100644 (file)
@@ -1,4 +1,7 @@
 
+/* Prevent spurious test failures on 16-bit targets.  */
+#if __INT_MAX__ >= 2147483647L
+
 extern int f (char *, int);
 
 void test (void)
@@ -15,3 +18,5 @@ void test (void)
     bufptr += bytes;
 }
 
+#endif
+