mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 06:06:40 +08:00
990628-1.c: Tweak to work on targets with 16 bit integers.
* gcc.c-torture/execute/990628-1.c: Tweak to work on targets with 16 bit integers. From-SVN: r31311
This commit is contained in:
parent
b87c6d55b0
commit
afc27297c7
@ -1,3 +1,8 @@
|
||||
Mon Jan 10 18:12:49 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/990628-1.c: Tweak to work on targets
|
||||
with 16 bit integers.
|
||||
|
||||
2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* gcc.dg/20000108-1.c: New test.
|
||||
|
@ -48,7 +48,9 @@ load_data() {
|
||||
main()
|
||||
{
|
||||
load_data();
|
||||
if (data_ptr[0].dummy != 0x55555555)
|
||||
if (sizeof (int) == 2 && data_ptr[0].dummy != 0x5555)
|
||||
abort ();
|
||||
else if (sizeof (int) > 2 && data_ptr[0].dummy != 0x55555555)
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user