summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-07 04:38:56 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-07 04:38:56 +0000
commitca6142cc2d0dad602fa1a7aef0d1c7cb3df9b1b0 (patch)
treed682e97d3194428c38283c061b608215ed3d7db4 /gcc
parentaaad55a518b1b4d6558e4b24f91ac7ab5d4b478b (diff)
downloadgcc-ca6142cc2d0dad602fa1a7aef0d1c7cb3df9b1b0.tar.gz
* gcc.dg/20020411-1.c: Disable for 16-bit "int".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20020411-1.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 324b3e6622f..e8e298b47ab 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-06 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
+
+ * gcc.dg/20020411-1.c: Disable for 16-bit "int".
+
2002-10-06 Andreas Jaeger <aj@suse.de>
* gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp.
diff --git a/gcc/testsuite/gcc.dg/20020411-1.c b/gcc/testsuite/gcc.dg/20020411-1.c
index d8a939254a8..a1834b8a1a5 100644
--- a/gcc/testsuite/gcc.dg/20020411-1.c
+++ b/gcc/testsuite/gcc.dg/20020411-1.c
@@ -5,6 +5,8 @@
/* { dg-options "-O2" } */
/* { dg-options "-O2 -march=i686" { target i?86-*-* } } */
+#if __INT_MAX__ > 32767
+
typedef struct
{
unsigned a : 16;
@@ -48,3 +50,5 @@ baz (unsigned int x, unsigned char y)
foo (&t, 1);
bar (&t);
}
+
+#endif /* __INT_MAX__ */