aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20020219-1.c9
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b368a72..6e6c3e2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/20020219-1.c b/gcc/testsuite/gcc.dg/20020219-1.c
index 596f268..a3cda0e 100644
--- a/gcc/testsuite/gcc.dg/20020219-1.c
+++ b/gcc/testsuite/gcc.dg/20020219-1.c
@@ -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__ */