* gcc.dg/20020411-1.c: Disable for 16-bit "int".
authorD.Venkatasubramanian <dvenkat@noida.hcltech.com>
Mon, 7 Oct 2002 04:38:56 +0000 (04:38 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 7 Oct 2002 04:38:56 +0000 (21:38 -0700)
From-SVN: r57875

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

index 324b3e6..e8e298b 100644 (file)
@@ -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.
index d8a9392..a1834b8 100644 (file)
@@ -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__ */