* gcc.c-torture/execute/
20040331-1.c: Don't use too wide a
bit-field on 16-bit targets.
From-SVN: r81343
+2004-04-30 Kazu Hirata <kazu@cs.umass.edu>
+
+ * gcc.c-torture/execute/20040331-1.c: Don't use too wide a
+ bit-field on 16-bit targets.
+
2004-04-30 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20040409-2.c: Fix constants used on
int
main (void)
{
+#if __INT_MAX__ >= 2147483647
struct { int count: 31; } s = { 0 };
while (s.count--)
abort ();
+#elif __INT_MAX__ >= 32767
+ struct { int count: 15; } s = { 0 };
+ while (s.count--)
+ abort ();
+#else
+ /* Don't bother because __INT_MAX__ is too small. */
+#endif
exit (0);
}