* gcc.dg/20020219-1.c: Disable for 16-bit targets.
authorRichard Henderson <rth@redhat.com>
Mon, 14 Oct 2002 22:07:18 +0000 (15:07 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 14 Oct 2002 22:07:18 +0000 (15:07 -0700)
From-SVN: r58141

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020219-1.c

index b368a72..6e6c3e2 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-14  Richard Henderson  <rth@redhat.com>
+
+       * gcc.dg/20020219-1.c: Disable for 16-bit targets.
+
 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
 
        PR optimization/6631
index 596f268..a3cda0e 100644 (file)
@@ -9,6 +9,9 @@
 /* { dg-options "-O2" } */
 /* { dg-options "-O2 -mdisable-indexing" { target hppa*-*-hpux* } } */
 
+/* Disable the test entirely for 16-bit targets.  */
+#if __INT_MAX__ > 32767
+
 extern void abort (void);
 extern void exit (int);
 struct A {
@@ -31,3 +34,9 @@ int main (void)
   foo (x - 1, 9999);
   exit (0);
 }
+
+#else
+
+int main () { return 0; }
+
+#endif /* __INT_MAX__ */