Commit bc6bd744 by Jeffrey A Law Committed by Jeff Law

* gcc.c-torture/compile/980726-1.c: New test.

From-SVN: r21388
parent 9616dd8d
Sun Jul 26 01:05:02 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980726-1.c: New test.
1998-07-25 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: New test.
......
static __inline__ unsigned char BCD(unsigned char binval)
{
if (binval > 99) return 0x99;
return (((binval/10) << 4) | (binval%10));
}
void int1a(unsigned char i)
{
(*((unsigned char *)1)) = BCD(i);
}
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