diff options
author | Richard Henderson <rth@redhat.com> | 2002-10-14 15:07:18 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-10-14 15:07:18 -0700 |
commit | 741fa37f8bbe7e48875f03383057f394882c2e8f (patch) | |
tree | 58bdaf0f9a2b39723fa56f61ba731a4ee941bf11 /gcc/testsuite/gcc.dg/20020219-1.c | |
parent | 4f770e7b9d151ca21b3ca21e0486217054f95aa7 (diff) | |
download | gcc-741fa37f8bbe7e48875f03383057f394882c2e8f.zip gcc-741fa37f8bbe7e48875f03383057f394882c2e8f.tar.gz gcc-741fa37f8bbe7e48875f03383057f394882c2e8f.tar.bz2 |
* gcc.dg/20020219-1.c: Disable for 16-bit targets.
From-SVN: r58141
Diffstat (limited to 'gcc/testsuite/gcc.dg/20020219-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20020219-1.c | 9 |
1 files changed, 9 insertions, 0 deletions
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__ */ |