990106-2.c: Update to work on targets with 16bit ints.
Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/990106-2.c: Update to work on targets with 16bit ints. From-SVN: r25166
This commit is contained in:
parent
826947c572
commit
354a5b0721
@ -1,3 +1,8 @@
|
|||||||
|
Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* gcc.c-torture/990106-2.c: Update to work on targets with 16bit
|
||||||
|
ints.
|
||||||
|
|
||||||
1999-02-11 Nick Clifton <nickc@cygnus.com>
|
1999-02-11 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* lib/chill.exp: Fix typo: doesn'timeout -> doesn't
|
* lib/chill.exp: Fix typo: doesn'timeout -> doesn't
|
||||||
|
@ -13,7 +13,8 @@ int main(int argc, char *argv[])
|
|||||||
unsigned x = 1234;
|
unsigned x = 1234;
|
||||||
unsigned y = calc_mp(x);
|
unsigned y = calc_mp(x);
|
||||||
|
|
||||||
if (y != 680)
|
if ((sizeof (y) == 4 && y != 680)
|
||||||
|
|| (sizeof (y) == 2 && y != 134))
|
||||||
abort ();
|
abort ();
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user