Commit afc27297 by Jeffrey A Law Committed by Jeff Law

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
parent b87c6d55
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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment