* bf-sign-2.c (main): Replace struct sizeof test with 4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25902
138bc75d-0d04-0410-961f-
82ee72b054a4
+Mon Mar 22 14:55:58 1999 Jim Wilson <wilson@cygnus.com>
+
+ * bf-sign-2.c (main): Replace struct sizeof test with 4.
+
Wed Mar 17 12:22:39 1999 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/ieee/980619-1.x: New. Expected fail on x86.
if ((x.u15 - 2) >= 0) /* promoted value should be signed */
abort ();
- if (sizeof (struct { unsigned long u32:32;}) <= sizeof (int))
+ /* Conditionalize check on whether integers are 4 bytes or larger, i.e.
+ larger than a 31 bit bitfield. */
+ if (sizeof (int) >= 4)
{
if ((x.u31 - 2) >= 0) /* promoted value should be signed */
abort ();